Sounds like a thinly veiled pretext for, that is to legally enable, discrimination against a small minority, namely trans individuals who identify as different from biological gender as determined at birth, based on infractions which in reality do not exist.
In the case of trans athletes, this (in the US, certainly parallel elsewhere) there are less than a dozen [trans] individuals nationwide out of over 550k total athletes, and yet even there none have competed at an unfair advantage, nor excelled over others owing to a difference in birth determined gender assign.
Thus, as with the "bathroom bills" and other culture war hogwash, this is legislation based on a false, imagined narrative, in support of a right-wing political agenda intended purely to divide and exclude rather than addressing actual deficiencies such as is the case, here in the UK, as the gross underfunding and mismanagement of the NHS.