But if there are women who might need a woman's only short term beginners class in order to initially get onto the mat, seems like no harm done.

Maybe, maybe not. My feeling is that there is an inherent destructive quality in dividing people into sub-groups based on immutable (or near-immutable) characteristics such as gender, race or religion - enough so that it ought not to be done without a compelling reason.