That prisoner should clearly have never been in that prison. The purported "case-by-case" system obviously isn't working as it should.
Horrific as that case is, I'm not convinced that all transgender women should be in male prisons. Equally, should all transgender men be in women's prisons?