Deuteronomy 22:26 "But to the girl you shall do nothing"

A person who is forced to disobey one of the commandments of the Torah is not considered guilty of sin. In such a case, we are instructed not to punish the person who sins.