Home PoliticsCourt battle over definition of ‘woman’ has cost Scottish government more than £766,000