Absolutely correct but a gentleman treats a woman like a lady whether she is one or not.
I believe that a woman is treated as a lady if she earns it. The same applies to gentlemen, by the way.