In the meantime, they will just get cast as a detective/superhero/love interest/cleaner/ teacher/doctor etc. but a female one, because they are female!
Being gender critical, I wish it was possible to have more roles where the sex of the person genuinely didn't matter to the storyline or how the various characters interact - but at this point in our culture, it would be unlikely to ring true to life.
There are probably some roles which are or could be like this, aren't they the ones this person should go for rathe than wanting 'male' roles?