Giving evidence for a second day, Dr Searle was again quizzed regarding emails exchanged between senior staff in the aftermath of the Christmas Eve incident.

Ms Cunningham focused on one message said to mention avoiding “foot in mouth syndrome” and that not all messages had been provided to the tribunal.

She added Dr Searle’s search for emails related to the case had either been “surprisingly incompetent or deliberately withholding” the email.

Dr Searle said she rejected the latter suggestion.

Ms Cunningham accused Dr Searle of “turning up the emotional heat” with how she reported the incident in the datex.

She replied that she had reported the incident as she saw it, with a junior doctor upset about something that had happened at work.

Dr Searle had told the tribunal on Tuesday she considered reporting the matter to Police Scotland as it could be considered a hate crime.

Ms Cunningham asked Dr Searle if she would have recognised Dr Upton as trans if she had not been told, and claimed the junior doctor was “obviously male”.

The lawyer added that the Christmas Eve incident could have been resolved by Dr Upton leaving the changing room, rather than telling Ms Peggie to speak to management about it.

Dr Searle said she disagreed this would have been a suitable way to end the altercation.

The tribunal continues.