Is the Vinaya fit for purpose?

The idea and practicalities of mixed monasteries has been discussed here:

As for people’s level of identification with gender, it is so variable even amongst people set on seeing through conditioned phenomena. Let’s say I don’t particularly identify as a gender but the person I am talking to does. I still am constrained by their views in some cases. For example I was alone at the vihara the other night and the last person to leave my meditation group was a man with mental health problems who is maybe 25kg heavier than me and significantly stronger. Whether I identify with my gender or not had little relevance to the fact that this was probably not a safe situation. Nothing untoward happened, but I think that at least some of the vinaya rules for women act as a reminder to be aware of such situations.