Supreme Court restores costs protection for local authorities in care proceedings