Whatever she says to wiggle about with it, the word used is gender. That's what is being written down, that is what will be used in practice, this is what Scotland are putting in law and they need to own it.
Gender is whatever someone says they are. End of.
So a rape victim can ask for a woman examiner, and be presented with someone who identifies themselves as a woman while the rape victim perceives them as male. And the self identified woman of course does not have to conform to any stereotypical appearance expectations, so this may be someone with a beard, fully male presenting.
At which point it's a straight up win/lose as to whose rights matter - the rape victim to insist that facts and her reality are more important, the TW to insist that rejection of their identity is a crime and intolerable even for a female patient in extreme distressing circumstances where this conflict is causing their patient more distress and cannot be said to be in their best interests - or the objective police and medical need that it is in everybody's interests that this exam is done quickly with the minimum distress to the rape victim, the evidence gathered and the rape victim given what treatment they need.
Under the law changes Scotland are about to make there will be no exemptions, the whole point is they are disposing of the exemptions and we already know: the activist lobby strongly state:
Females may never say no, regardless of their personal situation or the distress it causes them
The needs and rights of the TW always take precedence even if this means a medical professional is in the very odd position of insisting a patient meets their needs - which means putting aside the best interests of your patient for your own, which is against all standard ethics
It is better (and in fact a just punishment) that a female lose access to help and service than be allowed to say no to a TW
The female should be warned that their behaviour is unacceptable and against policy, and people behaving in such a way will not be tolerated in this place.
A female's race, faith, culture, beliefs, disabilities and traumas will not be taken into account.
Own it. Put it in the papers, tell the general public you coward, and own what you are doing to females in the name of happiness and rights for males.