I am reminded of an old British TV show, Doctor in the House.
At one point several of the young doctors do something stupid, I don’t remember what, and are trying to excuse themselves to their supervisor by explaining that they had been drunk at the time.
To which his response is, “Oh, you were drunk. Why didn’t you say so before? That’s all right then.” With, of course, magnificent sarcasm.
The difference, of course, as far as your question goes, is that it is illegal to drive while under the influence. It is not illegal to get drunk and have consensual sex with another person.
It is, however, really stupid. Especially when you have no reason at all to trust that person or believe he/she isn’t criminal or crazy.