Agree, but refuse a judge’s order in their courtroom and there’s no recourse except go to jail.
True, but then should it not be a matter of public record the offenses for which a judge finds contempt?
Also, it seems to me that there is a big [and important] difference between the judge and "the court" — since they're orthogonal it seems to me possible that a contempt of the judge is not a contempt of the court. (Though, judges seem to have grown big egos and sometimes seem incapable of even contemplating that they are not "the court".)