https://www.bbc.co.uk/news/articles/c962p8217zxdo
'All transgender inmates have been moved out of women's prisons, according to the Scottish Prison Service (SPS).
SPS deputy chief executive Adam Jobson told Holyrood's Equalities Committee that a small number of transgender prisoners had been moved. He said that trans women - biological males who identify as women - were now held in men's prisons.
The move was to comply with a judge's ruling in June, that sex segregation in prisons must be based on biological sex rather than gender identity.'