Actually, it sounded like the Cop offended the Judge in the judge's courtroom and wasted the judge's time (one of the best ways to piss off the judge aside from showing up late).
It's not like the judge could actually rule anything else, the text of the law being what it was. The trooper trying to give him backtalk and Atrocities having his stuff together eliminated any margin of ambiguity from it.