Newser reports a 28-year-old was earlier this month sentenced to 75 hours of unpaid work.
He farted three times in the presence of police while asking, "How do you like that?" The incident began in the wake of a car crash in Aberdeen.
Police responding to the scene smelled pot on driver Stuart Cook.
A search of his person and car turned up a small quantity of cannabis.