A court on Tuesday approved a GBP3 billion ($3.8 billion) emergency loan for Britain's largest water supplier Thames Water, offering it a lifeline as it buckles under a mountain of debt.