The current situation seems to be that parents can consent, and if they do the courts can't preemptively get in the way. The courts are there to resolve conflicts and deal with criminal cases. If no conflict, and no crimnal charges, they have to stand aside.
But it's been made clear that they're far from satisfied that children can meaningfully consent to this, so if any child experiences regret, an 'informed consent' disclaimer is unlikely to apply. Doctors proceeding with the treatment are leaving themselves wide open to civil cases for damages if anyone later believes they were harmed by it. (Also potentially parents?) And the judges affirmed that this is the legal route left open.
To actually ban treatment in general would need to he a government decision in law (as happened for lobotomy - not banned but tightly restricted), or a medical policy.
And the NHS/Tavistock sensibly seem to be in no rush to go back to the previous policy. They've said no changes until the Cass review finishes, I believe.
It will be interesting to see if Maugham is really serious about suing them to force them to give treatment...