Contempt is a weird power in general, especially when it's used for reasons like "disrespecting the judge." If I am disrespectful to the governor of my state, or if I'm disrespectful to a police officer, or if I'm disrespectful to a fireman or a bailiff or a legislator or a district attorney or a teacher or the President, that is a thing that I can legally do. But for some reason it's not outrageous for a judge to send me to jail because I showed them insufficient respect.
"Contempt of court" isn't supposed to refer to contempt of the judge, though. It's supposed to refer to contempt for the mechanism of a trial: not respecting the time or the (legally-required) duties of anyone there, basically making it impossible to go on with the work of the court system. A lawyer attempting to "filibuster" a jury into agreeing with them, for example, would be in contempt of court for wasting the jurors' time.
The "contempt of court" charge basically serves as a court-private time-out box to send people to whenever they can't handle being in court, until they learn to stop, erm, "blocking the cooperative event queue from pumping messages."
It's not that the charge has to be indefinite—but it has to be capable of sticking as long as the trial's progress is halted. The charge should definitely cease to apply if the trial manages to resume through some other route—and especially if it manages to conclude.
Remember, "contempt of court" isn't about malfeasance, either. Experts who lie on the stand are not in contempt. Lawyers who introduce non-cross-examined evidence are not in contempt. Random audience members getting up and saying things during court are not in contempt. It's only when one of these things causes the trial mechanism to grind to a halt, and then the person refuses to yield to let the trial resume, that they are in contempt. It's a process-control mechanism, and in that respect, it's quite necessary.
(That's not to say it can't be abused—especially in smaller courts in non-jury trials. But it has a well-defined good usage, and can't really be redefined without losing that usage.)
But for some reason it's not outrageous for a judge to send me to jail because I showed them insufficient respect.
The rights of protest and speech cannot be the same in courts, even to the same degree as a place like congress or the offices of the executive. (And in those last two cases, the right of speech is also curtailed.) Otherwise, the courts wouldn't be able to function, particularly in the case of an adversarial court system.
As an analogy, years ago I was part of a small alliance in Eve that consistently won battles. But as we were winning, the server would crash and the devs would come in and roll-back the damage we had done.
The courts have a hard enough time as it is functioning. I am involved in a case against an assailant, and I learned that it's very typical for defense attorneys to purposely drag out cases to maximize victim fatigue. The defense attorney somehow has surgery scheduled on the hearing dates. A legal system is very complicated. It's likely to have more loopholes than a software system has bugs. And it's probably a lot harder and more time consuming to fix those.
How else can the court enforce that it is the final decision on disputes other than this? It is unfair, but seems like the logical place for unfairness to reside in such a system.
> How else can the court enforce that it is the final decision on disputes other than this? It is unfair, but seems like the logical place for unfairness to reside in such a system.
Why would there need to be any place for unfairness to reside in a system?