No one is accusing you of being a lady, I am being a gentleman
Under similar circumstances, my reply was, "I'm sorry ma'am, I mistook you for a lady..."
To bad it goes over most of their heads.
Stupid enough to say it, stupider enough not to recognize a sarcastic remark.
That is the she version of a guy saying...”She must be a lesbian because she won’t go out with me”....
Just shake head, roll eyes, smile and walk away - far away.