It seems to me that the judge is saying that the Scottish Government have not redefined the word woman but that they have made a law that will benefit both women (by virtue of the PC of sex) and transwomen (by virtue of the PC of gender reassignment).
The judge seemed to think there is some visual and social way to "operate as a woman" or "operate as a man". She seemed to be under the impression that "gender reassignment" is an actual process that leads to a "visual and social" change. She seemed to think that there was a "stringent criteria" for "gender reassignment" to have taken place. She also made a comment about the intersection of GR and ethnicity or disability and that TW often had intersecting PCs.
Judge is clearly captured. I wonder if she has had stonewall training :)
Much was made in argument of the effect of the 2018 Act being to exclude or discriminate against biological women who are changing gender and living as men, who could not benefit from its positive action measures. That ignores the obvious point that such people are visually and socially male and so not operating as women for the purposes of the gender representation objective