Ok, sure, but now the conversation is purely theoretical. What you're talking about is a situation that, by your own admission, cannot exist!
Because in order to punish me for being X, you have to know I'm X! But if you know I'm X, then I must have said it at some point! In which case, you're firing me for saying I'm X, not for being X!
If you're a republican and nobody ever knows, then you're not a republican. Again, it's a tree in the forest problem. You literally cannot be fired for being republican then, so it's indistinguishable from you not being republican.
Because in order to punish me for being X, you have to know I'm X! But if you know I'm X, then I must have said it at some point! In which case, you're firing me for saying I'm X, not for being X!
If you're a republican and nobody ever knows, then you're not a republican. Again, it's a tree in the forest problem. You literally cannot be fired for being republican then, so it's indistinguishable from you not being republican.