In the UK and the territories formerly ruled or administered by the UK, magistrates are addressed as “Your Worship”. It may also be used in addressing or referring to a high-ranking person, such as a mayor.