During the reign of Ösel-Wiek Bishop, every canon was supposed to lead a chaste and virtuous life according to the rules of the monastery. Access of women to the Episcopal Castle was forbidden by threat of death. A legend tells that a canon fell in love with an Estonian girl and secretly brought the maiden into the castle. She hid by dressing as a choirboy and remained a secret for a long time, but when the bishop visited Haapsalu again, the young singer caught his attention and he ordered an investigation of the singer's gender.