This requires more nuance. The act of receiving an invite code does not deanonymize anything. It associates the two identities, which is something most people would do on purpose.
You could also use ANY identity or nostr key to request the Invite code, right? Including throwaways.