Short answer: no.
However, I think if you ask someone point blank about this, making it very clear that you would not consent to anything sexual if they were trans, and they lie to you.. then I think there's a reasonable case to claim rape/sexual assault.
That said.. this obviously doesn't justify what the marine did. The only presumable way that any sort of physical violence as "self defence" would be justifiable here is to stop the other person from performing a sexual act on you that you don't consent to. IE. If he found out the person was born a man, and told her to stop, say, sucking his dick.. but she continued..