A borough's power to construct and operate a water system as provided in section 2401 (relating to power to supply water and make regulations) shall not be abridged by the borough entering into a contract with a person or corporation for the supply of water, but the power shall remain in force as though the contract had not been made.
8 Pa.C.S. § 2402