Consider that the only power a judge has is to say things, and write things. The legal system only works if enough people respect it and do things just because the judge said to do the thing. Our society only works if the legal system keeps working.
Insisting that people respect the court is a large part of why this works. Even if maybe in some particular instance you could get away with not insisting on that, that's a dangerous experiment to run.