‘Judges, magistrates, and officials in sensitive positions must accept stricter limits on their social lives as part of the sacrifice that comes with the job’