yougov.co.uk/topics/politics/articles-reports/2023/01/31/should-transgender-women-offenders-be-sent-mens-or
'Women and men’s views are largely identical: 57% of men and 61% of women say this type of offender should go to a men’s prison, with only 14-15% saying they should go to a women’s prison.'
Ever more complex conditions are going to be put into these risk assessments.
If a man has had certain surgeries, and has not ever been found guilty of attacking a woman, then some people still think he should be put in a women's prison if he asks to be.
This still isn't really taking into account the views of women in prison, many of whom will still not want to share a cell or a shower with a man, no matter what surgery he's had and no matter what his conviction history.
This whole issue is really simply resolved by housing prisoners according to sex.