A waste of Judicial time?

In R (AK) v London Borough of Hillingdon and North Central London CGG [2021] EWHC 301 (Admin), the Judge, in a 27 page judgment, held that a s.117 aftercare plan was unlawful and that a new assessment had to be conducted. This was despite the fact that no complaint was made as to the adequacy of the placement that the applicant had been discharged to as a consequence of the plan. Although the judge was reminded by counsel for the defendants that “care plans are drafted by social workers and not lawyers” he subjected the discharge plan to a detailed forensic analysis.

The case took up two days of court time. Is this a sensible use of scarce judicial resources? Would it not have been preferable for the applicant to have used the appropriate complaints mechanism and, if necessary, to involve the Ombudsman? And given that the placement has already taken place and is apparently successful, what would be the point of a further pre-discharge assessment?