Question: when do judges wear wigs?
Answer: Until the seventeenth century, lawyers were expected to appear in court with clean, short hair and beards. Wigs made their first appearance in a courtroom purely and simply because that's what was being worn outside it; the reign of Charles II (1660-1685) made wigs essential wear for polite society.