Women are treated as second class every day on this planet in a myriad of situations. They are made to feel like they don't know anything by tactless men who must think the universe revolves around them.
Thankfully I have never seen this at my current firm.
It never would have occurred to me to behave this way because I have always identified with women even when I wasn't self accepting.
So while it may in one way be validating to be recognized as a woman by this young man, it didn't feel right to have any kind of condescending language used on me.
Women are equals.