Thames Water set for crucial court ruling

If it does collapse, who will pay and how much?