What is the meaning of 烏帽子?

a type of black-lacquered court cap originating during the Heian period, previously worn only by men of a particular social status, and now worn in certain Shinto ceremonies and by gyoji presiding over sumo matches

Source: wiktionary.org