For Women Scotland is challenging a definition of females enshrined in law passed by MSPs in 2018.