The High Court has dismissed a council's attempt to overturn an inspector's decision to free the developer of a scheme comprising more than 300 flats in the Thames Gateway from a commitment to pay a £1 million off-site affordable housing contribution.