One of the terms of a plan to restructure Oxfordshire's water supplier Thames Water “holds the company to ransom”, the High Court has heard.