They may already have that rule - from the article:
”British Swimming confirmed that Ms Coombes used the changing rooms as a walkthrough route from one area of the venue to another and was not using it as a changing area, so no separate changing area was needed”
Sounds like she was circumventing the existing rules, in order to get into the women’s changing rooms anyway.