I attend an exercise class that is open to men and women. However, the majority of the time it is women who attend. If a man joins a particular class, am I required to wear a skirt? Can I still attend the class?
A woman is required to be dress appropriately whenever a man is present. This exercise class is no different since it is open to men as well.
I don’t know exactly what type of exercise class you attend but in all likelihood it would not be permitted for a woman to exercise in the presence of men.
Wearing a skirt wouldn’t help in this case just like it doesn’t help that a woman is wearing a skirt while dancing. In both cases it would not be permitted if a man is present.