@CharlieParley
That is completely irrelevant. Here's the law: it is illegal / unlawful / verboten to discriminate against people for any reason whatsoever.
That's the default position.
Here's the exception:
There are a number of circumstances where people have particular needs that other people do not have.
There are a number of reasons why people have been discriminated against in the past, before equalities laws made this unlawful, and they continue to suffer the consequences to this day.
For both of those reasons, it may be necessary, in certain situations and under certain circumstances, to make an exception to the no discrimination default.
It is impossible to do so without rules, because the reasons why exceptions may be necessary are different and the interests of some people may conflict with the interests of another.
Prior to 2010 we had a whole range of separate laws trying to do right by these different groups of people, but it was difficult to navigate them, especially when conflicts arose.
Enter the Equality Act 2010.
It defined the groups by defining what particular characteristic it is that may lead to discrimination or that may result in particular needs:
age;
disability;
gender reassignment;
marriage and civil partnership;
pregnancy and maternity;
race;
religion or belief;
sex;
sexual orientation.
Now under UK law you may not discriminate against anyone for any reason, unless you cannot meet the needs of people with a particular characteristic without discriminating against those without that characteristic.
So no, you cannot make up anything else in order to exclude people, because the default is that discrimination is unlawful and it would therefore be unlawful to just make something up. To make it lawful, you have to show that one of these nine protected characteristics is the reason why you need to discriminate by excluding people.
This is a complete misunderstanding of equality law. It is only illegal to discriminate against people (directly or indirectly) because of a protected characteristic. It is not illegal to discriminate for other reasons eg because a person is left handed. If a public body or an employer were to treat someone less favourably for some arbitrary reason it might be unlawful under other legislation (eg employment law), but it would not be discrimination under the Equality Act.
As to single sex spaces, the starting position under the Equality Act would be that they are unlawful, because they involve excluding people on the basis of their sex. However, the Act specifically allows an exception to that general position, so that single sex spaces are not regarded as discriminatory as long as they are a proportionate means of achieving a legitimate aim, taking into account the specific circumstances.