What are you struggling with, exactly?
Nobody said anything about ghosts.
If someone has a stroke, time is of the essence. My husband's 94 year old grandmother had one but because she was with family at the time they called an ambulance immediately and she was in the hospital within 30 minutes. She has made a good recovery. If she had been lying on the floor of an enclosed toilet for hours before anyone found her it would have been a different story.
As for being followed by a guy, if the toilet is fully enclosed and he's allowed in the surrounding area, he only needs seconds to follow you into the toilet and lock you in there. That's much easier than if he has to go into a women's toilet where he isn't allowed to be and hope that there is only one woman in there, and that nobody else comes in while he's busy attacking her.
I know these toilets already exist in many places. They are less safe for women than single sex toilets with regular cubicles.