Since when is yelling at a cop a Maceable offence?

A court just ruled that a cop isn’t breaking the law by acting like a jerk. This was in response to a woman getting handcuffed for allowing her kids to take off their seatbelts while she was driving, however.