Subject to any provision to the contrary contained in an agreement between the appropriate agency and the person in whom an interest in the pipe is or is to be vested, every pipe which—
shall vest in the appropriate agency.
Subsection (1) above is without prejudice to the vesting of anything in the appropriate agency by virtue of the exercise by the appropriate agency of any power to acquire property by agreement or compulsorily.