Whereareyourshoes
A clear distinction between gender identity and biological sex in law would balance the legitimate rights of trans people and those of women, protecting both groups against discrimination but establishing beyond doubt that it is lawful to provide female-only services for women as a matter of privacy, dignity and safety.
That would be the reasonable and sensible thing to do. Unfortunately, Nicola Sturgeon needs the Greens onside and they're barking zealots, who insist "TWAW, no debate." It's a big driver of her determination to ram it through, despite the opposition of a majority of the population.