It’s never a good idea to tick off a court judge, especially by doing it before you’ve even entered their courtroom.

One man learned that lesson when he got busted for selling drugs while he was on his way to court on his pending drug charges, according to The Oregonian.

He also had methamphetamine on him at the time of the undercover sting in addition to the steroids he tried to sell to the officer. He also committed several traffic offenses and was driving drunk during the course of the bust.

More From The New 96.1 WTSS