The gang finds out Stan Lee is coming to the comic book store to sign autographs, which conflicts with the day Sheldon has to go to court (because he ignored the red light). Penny takes him to court and he insults the judge. He gets locked up temporarily until he apologizes to the judge. To cheer Sheldon up, Penny finds out Stan Lee's address and brings Sheldon to meet him. Sheldon misinterprets Stan Lee's sarcasm and enters his house. He ends up getting a restraining order from Stan Lee, but he is happy about it.