144. Whenever a municipality some of whose works, plants or mains are acquired by the Community has bound itself contractually with another municipality to supply such other municipality with drinking water or to receive its used waters, and such works, plants or mains acquired by the Community have been necessary for the carrying out of such contract, the Community shall be substituted for such municipality in all the rights and obligations of such municipality resulting from such contract.