@musingloud more that men have the obligation to go whether they want to, women do not. I'm not a Muslim, so I can't say.
I absolutely agree that the result is women being excluded, just that the intention may be different. Men are also excluded from women's areas. Women would be socialising and gathering elsewhere, around practices men are excluded from.
It's no longer fit for purpose, as women are expected to have as full a public life as men. It may not have arisen in a deliberate attempt to exclude women from places men do business, rather an assumption that women would have no need, no obligation, to be there.
I've been to Christian conferences where we all divide up into different demographics- the under 30s have different worship sessions from the over 30s, there's singles events and couples events, parenting workshops, men's sessions and women's sessions. It's not to exclude people, it's to offer something tailored to their needs.