Toilets are not just used behind a closed cubicle door. There are quite a few aspects of female toilet usage that happen in the public space, or even now still occur with a toilet door jammed open.
From my personal experience here is a list.
I have had to use the toilet while having a pram / pushchair jammed into the door with groceries.
So… yes… doors DO get jammed open. Gosh. Imagine that!
I have had to have my mum use the public toilet because the disable toilet was not available and had her wheelchair jammed in the door because I couldn't leave her sit to move it and shut the door.
I have had breastmilk leaks / children's vomit / food spilled on my clothes and needed to have an unbuttoned top to dry the top under the hand drier.
I have come across other women quite regularly washing out their tops or their skirts etc and drying them enough to put back on .
I have friends who have miscarried in toilets and needed assistance and for that to be female people to make it more comfortable.
If you as a female person have not experienced these issues, that doesn't mean it is not happening. I am glad that you have never needed to do this things, it is uncomfortable and can be quite humiliating. But at least, in a female only toilet, it is a little better.
I think when people think of toilet usage, maybe they have never had to use the toilets in any other way other than behind a closed door. But the needs are still there and they are real for many female people to be able to engage in public life.
Nice though, that you prioritise your mates over the needs of female people who need the public space in those female toilets.