ryan hansen joins bad judge 'Bad Judge' adds bad boy Ryan Hansen to seduce Kate WalshBad to the bone. Ryan Hansen just can’t stop being bad, going straight from the recently canceled “Bad Teacher” to now joining NBC’s “Bad Judge”, with Kate Walsh.

TVLine reports Hansen will play Gary in the new series; a psychiatrist who has an on-again, off-again relationship with Walsh’s hard-living, take-no-prisoners-in-the-bedroom judge Rebecca. Think more “friends with benefits” than “long-term love.” 

The actor replaces “Bones” star Mather Zickel, who left the project due to creative reasons after playing Gary in the pilot.

Hansen also has another exciting project in the works for later this year, as he will reprise his role of Dick Casablancas in the CW ‘s “Veronica Mars” spinoff web series.

“Bad Judge” premieres Thursday, October 2 on NBC.