You are right, of course, David. But, someone IS paying the judge, bailiff, attorneys, court recorder, ancillary staff, heats, lights.... Multiply this time the infinite frivolous litigation and it is my money being wasted. But your point is well taken.....not a grand jury here.
I'm just guessing, of course. If a restraining order is something so time-dependent that they open the court just for it, that's different. As with much of this, I have no idea.
I've spent enough time in local courts, as a landlord and holder of bad checks, to know how much frivolous stuff consumes them. Cumulatively, it may be a waste, but each one is relatively small because there are a lot of them crammed into a session.