Lawyers for both sides regularly snipe at each other outside the courtroom, and an exasperated U.S. District Judge Lucy Koh has taken on a “schoolmarm” role, scolding attorneys who misbehave and deducting time from their evidentiary presentations if they stray into forbidden territory during their arguments, Reuters reports.

In a recent exchange, name partner John Quinn of Quinn Emanuel Urquhart & Sullivan was rapped by Koh for referring to a pretrial order that blocked some Samsung product sales.

“That was improper,” the judge told Quinn, who apologized.

“I have a difficulty believing that was not intentional,” she responded.

Wistfully, the 44-year-old judge recently noted a lull in the ongoing onslaught between opposing counsel.

“You didn’t file any objections yesterday, and I was hoping that maybe you had settled,” she said.