For the purposes of any section of this Act which confers powers on local authorities to construct, lay or maintain sewers, drains or pipes, the provisions of sections twenty-eight and thirty to thirty-four of the Waterworks Clauses Act, 1847, shall be incorporated with this Act, subject, however, to such adaptations as may be necessary to make those provisions applicable to the construction and maintenance of sewers and drains as well as to the laying and maintenance of water mains and pipes, and subject also to the following modifications, namely that—
Where a railway company or dock undertakers have given such a notice as is mentioned in the last preceding subsection, it shall not be obligatory on them to execute the work until the cost thereof, as estimated by their engineer or surveyor, has been paid to them or security for payment has been given to their satisfaction, but, if any payment so made to them exceeds the expenses reasonably incurred by them in the execution of the work, the excess shall be repaid by them and, if and so far as those expenses are not covered by the payment, if any, made to them, they may recover the expenses or the balance thereof from the person for whom the work was done.