Where in any Act, or order made by one of Her Majesty's Principal Secretaries of State or by the Local Government Board and in force at the time of the passing of this Act, or in any document, any provisions of any of the Sanitary Acts which are repealed by this Act are mentioned or referred to, such Act order or document shall be read as if the provisions of this Act applicable to purposes the same as or similar to those of the repealed provisions were therein mentioned or referred to instead of such repealed provisions and were substituted for the. same ; nevertheless those substituted provisions shall have effect subject to any modification or restriction in such Act order or document expressed in relation to the repealed provisions therein mentioned or referred to.