Question: are hats allowed in court?
Answer: What should I wear to court? There is no formal dress code when attending court to support a defendant. ... It is not appropriate for those attending to wear shorts in court or other items of clothing that could be considered too revealing. Head wear such as hats and caps should not be worn unless for religious reasons.