I hear what you are saying, but can really only speak to what I think my spouse would do in a situation like that.
My spouse loves the "victim" role. My spouse cheated on his first wife and spun it to make it look like she was the bad guy. He came clean and told her about the encounter as a way to convince her they needed marriage counseling. He wanted the marriage to work, but she kicked him out and filed for divorce. So, yes, he made a mistake, but was sorry and trying to make it right.
Now, with me, SHE is trying to make the trans thing my fault even though she dressed decades before we met. Again, though, my spouse has set herself up in the victim role and is thriving in it.
So, given what I know, if, before all this came to light, something had happened to me, I think he would have loved the public sympathy he would have gotten from playing the long-suffering, hard-working and devoted spouse. He would probably have remained closeted but would have still dressed - only I wouldn't be in a position to leave.
Of course, there is no way to know for sure, but the public admiration and accolades is hard for any narcissist to give up.