The controversy around the case has dogged Ms Sturgeon, who has faced repeated demands to say whether Bryson is a man or a woman, and follows fierce and bitter divisions within the SNP and across Holyrood over the Scottish Government’s Gender Recognition Reform Act.

An urgent review of the SPS’s handling of the case concluded, however, there was no risk to women in the care of the prison service while Bryson was housed at Cornton Vale.

However, the full report into the scandal will not be published, with the SPS citing the “significant amount of personal detail” relating to Bryson as a reason for the document remaining secret.

Recommendations from the report include a more rigorous background check for transgender prisoners, which will “support decision making at admission and subsequent case conferences”, brought in due to the lack of information on Bryson’s life “pre-custody within the community”.

Full case reviews of all existing transgender prisoners are underway, the SPS said, with a pause on any transgender person in custody with a history of violence against women and newly convicted or remanded transgender prisoners being moved to the women’s estate.

Want to see why Scotland is better off as part of the UK?

Sign up to receive our weekly newsletter and join the fightback against Scottish Nationalism.