I don’t understand why a boy should go to the jail if both the girl and boy were involved and it was agreed. And why should society have any problem with it.
It’s only a problem if it was forced, done with threat, abuse or false promises from either of the one.