Let's be plain about what this disagreement is about.
A woman, told she could have a female HCP, was provided with a man who identifies at a woman. She has explained her distress at this, the breach in trust, that she was put in the position of having to refuse him, and the attempt to deceive her and breach her consent.
Many women here, me included, think this is an appalling thing for a man with a gender identity who is a doctor to intentionally do to a woman patient, knowing the woman has requested a same sex hcp. He is not. He knows he is not. He knows she has not consented to a man, and will obviously understand both the reasons why sex matters to some women, the issues probably underlying, and he will have had a great deal of training around consent. He is either therefore hoping to deceive her - which starts to wander into the territory of sex without consent because this involves intimate contact and consent, but is worse because he is in a position of trust and responsibility - or he is intentionally challenging her to either accept or reject him. With all the stress involved for a woman in a situation where she has to say to a man's face, that he is a man, and that he is breaking her consent and trust, and she now has a very serious problem with the hospital. On sheer grounds of consent he's on exceptionally dodgy ground, with no excuse at all.
A couple of posters think however that this is perfectly ok for him to have done to his patient, that her distress and protest - well, mostly there seems to be an attempt to deny it happened at all, which suggests it would be uncomfortable to face - and that it is unkind to the doctor concerned to even be discussing this.
YMMV.