Exactly. Just the other day I came across the school prayer we had to learn by heart at my girls' only junior school, which asks the Lord to help us to be truthful, pure, obedient, faithful, kind and gentle.
I wonder if boys's schools taught their pupils these same values? I doubt it.
There's nothing more "unwomanly" than barging in where you are not wanted, where you might make others uncomfortable.
Those are actually traditional British values and even if they are now rather old-fashioned and we don't have to learn prayers off by heart, yet still they are values passed on from mothers of an older generation to their daughters and granddaughters.
They are basically good values. But they need to be balanced, especially in this day and age where men are less chivalrous, with values such as resilience, self-protection, determination, standing up for oneself (especially with dignity, like JKR!) and courage.
You can recognise maleness by any display of entitlement when it comes to female spaces. If he really "felt like a woman" he wouldn't do it. H wouldn't want to disturb other women. He'd say "excuse me" and back out, just like all decent men do.