When it comes to competitive sport, the government could act in a simple way to support fairness (and in some sports, safety). Many sports receive lottery funding or other sources of public funding. Make it conditional that anyone who has gone through male puberty is treated as a man when considering participation, records and other eligibility, before any funding can be given. Or that there is a third category.
Parkruns may not have public funding, but if other sports are all required to follow this, I think they would not wish to be an outlier.
I don't expect the government to do this though, because they just want to talk and not act.