Susan Pinker's The Sexual Parodox refers to the observation that as women's rights improve the number of women in traditionally men's professions keeps rising and then goes into reverse, settling at a lower level than the peak (but far higher than in the society with poor women's rights). The effect seems to be tat a desire for "equality" means that women are pushed into jobs they don't want to do because they're assumed to be socialised to the point of being incapable of deciding for themselves (what Pinker calls the "infantilisation of women"). Eventually, women get enough liberty to resist that.
So both sides have a measure of truth. Those concerned for women's rights are correct that there can be social factors excluding women from certain professions, but the opponents are right that the search for numerical equality can lead to an overshoot and press individual women into unsuitable jobs. The challenge is to find out which side of that line we're on.