Thames Water has won approval to borrow £3bn to prevent imminent collapse in a high-cost loan deal described by a judge as ...