Earlier quoted context omitted.
Oh, I understand the concept. It's broken. If I am "consenting", but not to the action that's actually happening, I am not, in fact, consenting. If I believe that I am consenting to sex with someone that's not my husband, in that moment I am not consenting to sex with my husband. If they then have sex with me, knowing that that is my state of mind , that is non-consensual.
You do not understand the concept: I decide I want to try a bit of "something new", and I pay someone to induce a Capgras delusion in me. At which point, my wife seems like an imposter. I wish to have sex with this new person, and I am also sure my real wife has given me permission to, prior to this. You can tell me as much as you like that it's "really" my wife, but, in my delusion, I am quite sure it's just someone…
If I am suffering a delusion, and you know that, then you know that I am not mentally competent. You know that, if I agree to something, I do not correctly understand what I am agreeing to. Any expression of consent you extract from me is invalid.