The picture below is from a university's online pre course registration form. It incorrectly states they have a duty to collect gender identity information under the 2010 Equality Act, and is I think in breach of GDPR rules.
Looks like something for a lawyer to investigate.
Do you know which part of Equality Act deals with monitoring information? The university, likely, has to collect statistics but that does not mean that any student has to provide the information requested. To demand that it is provided may be illegal.
It seems to be a tweet? But by whom? Regarding which university?