accidentally gay
Having sex with or displaying attraction towards a character that appears feminine or ambiguous, but turns out to be male
Usually should also contain the tag mistaken_identity, and chances are it may also overlap with the tag crossdressing
a good example post #542990