The Adventures of Batman: Season 1, Episode 30
A judge who lets criminals get away with their crimes gives Robin a death sentence after he captures him.