What is the writer's opinion about a judge who wore a particular accessory in the courtroom and what should be done about it according to the writer?
I don't think that any reasonable person would argue that the judge didn't show very bad judgment by wearing the hat in the courtroom. 
And since he showed himself to be capable of making such poor judgments, he obviously is not fit to judge others in a court of law.
He should have been fired on the spot. Justice must be blind,  not stupid.