I would argue that a judge who does this is not fit to serve and should be removed from the courtroom, full stop.
I would argue that a judge who does this is not fit to serve and should be removed from the courtroom, full stop.