Before he was Cosmo Kramer, Michael Richards was Mr. Eugene Sleighbough on Night Court, a man brought before Judge Harold T. Stone (Harry Anderson) on a burglary charge... because he believed himself to be invisible to the human eye.
That's the brand of weirdo that was pretty common place in Judge Stone's court. In fact, there's a good chance Kramer himself would have been the particular kind of oddball that would fit right in on Night Court.
Night Court ran from 1984 to 1992 on NBC.
Andy Hunsaker has a head full of sitcom gags and nerd-genre lore, and can be followed @AndyHunsaker if you're into that sort of thing.