There was a rumour it may have happened in Scotland but I don't think it's ever been substantiated.
From the Daily Record, among other outlets:
The women inmates have had to accept that Stewart is being allowed to live as a woman, despite not having had surgery.
“That means she is in the showers at the same time as other inmates, which some have found quite awkard.
www.dailyrecord.co.uk/news/scottish-news/transgender-murderer-crowned-prisons-miss-12022026
I would bet that jj would not refer to it as a “rumour” if the same outlets were reporting, say, harassment of a trans person in prison.