Well, and all success to you. With the Supreme Court decision and plenty of other legal cases that haven't gone the trans way, you should be heading for a win, but nothing's totally guaranteed in the legal world.
It ought to be true that any legal advice that the school and the council are getting will be saying "You're likely to end up spending a lot of money and looking very bad over this issue, and you'll almost certainly lose". But maybe they'll be told that the case can be won if they can get away with being vague about who gets allowed to use which facilities. And maybe the councillors will be saying that this is the final showdown, and they need to fight for trans kids everywhere, or be blamed for giving up on the noble cause.