sometimes the bailiff became overwhelmed , so the judge was forced to intervene using the medium of his very own , handmade wig , which only looked like a tea cosy and of course for no other reason than purely to restore order .