J K Rowling and the trans furore

How about women in prison who are worried that male criminals can identify as women and be moved into women’s jails? It’s easy to say trans people must be treated as the sex they identify with, without any conditions being placed on them, but in practice that can be unfair to other people.