The doctor checked the girl's virginity, but she had to pay