Yeah, if the standards that a man would have to satisfy actually are significant qualifications for the job.
You could say that being a software engineer requires have a penis and testicles, and any woman who can meet those requirements is qualified, but that begs the question at hand, that stated, relevant qualifications, not operational, unstated, irrelevant qualifications should be used for recruitment and advancement.