I think they apply the law with the sequence of events that led to the crime. Since a girl alone with the boy is the first step and not allowed as per law that seems to be considered as something which ultimately led to crime and with restrictions weighed against women she is on the receiving end.