Of course it’s just a cartoon. In reality, Sideshow Bob wouldn’t be arrested at the end.