Sex and the Office for National Statistics: a case study in policy capture

How did the ONS end up in court defending its guidance on a question which most people would deem self-explanatory? Alice Sullivan explains the legislative and political context around gender recognition, and the consequences for data collection.