Term: benchslapped
Example: "man, i thought i got it hard, but the judge benchslapped the guy after me for just saying 'dude'
Definition: to be the target of a judge's pointed rebuke