The doctor checked the girl, then she confessed to having lied about her virginity