In this day and age, it's probably easier to change your gender, get the job and then change it back.
HR would be frothing at the mouth at the prospect of employing a transgender pilot. You could probably bypass the psychometric and SIM screening entirely if you were one of these lucky minorities...