This isn't inconveniencing anyone but the 1% of the 1% of cases. If you are going make a political tirade out of this, you should choose your punching bag better, this isn't even vague at all but just a bureaucratic mistake. There are cases where the term biological sex can be "hopelessly vague" but this isn't it as much as you might like it otherwise, and this just makes the people behind the decision look bad.
The kid identifies as cis, everyone of his classmates see him for his gender, hormone and chromosomal expression are likely standard cis. People better hope that it can't be traced back to any sort of political baggage, or that if it is, that it is due to conservative influence, because this is going to backfire spectacularly. It isn't going to make or break any of the laws behind it, but it is illustrating a certain lack of humanity on the people enforcing the law, and that gives mouthpieces with an axe to grind something to barrage behind.
Kudos on being trans and defending "the law is the law" in regards to transphobic laws. Wanna know a secret? They don't care about the law, look at Trump. Another secret, the law itself is only defined by when its chosen to be enforced, cue hundreds of outdated laws still on the books. Sarcasm aside, the sadism of sharing the pain is never constructive, but isn't even really applicable in this case, this is just an article blowing up because a newspaper needed to sell stories and fight against the bureaucracy is always an enticing one.
Mental gymnastics cannot make up for a lack of humanity, which is precisely the problem of transphobes. I'd recommend emulating them less in this regard just because you think you can argue a hallmark out of the case.