Laws like this were common when I was a boy, I can’t recall anyone ever being prosecuted other then man/boy sex.
man/girl was ok?