Earlier quoted context omitted.
Genuinely, why does it matter? Why should the judge waste any attention on things like that, things that have zero significance to the matter at hand?
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…
The legal system is just a buttress for social norms and conventions; and if the latter break down, there's not much hope for the former.
Of course, there are many legal issues that genuinely need lawyers and courts - for example, where there is real disagreement as to the meaning of a legal text such as a contract. But on the whole, the role of courts and lawyers is to tidy-up around the edges; if society only worked because of courts and lawyers, then it wouldn't really be working at all.