(2)When any public institution has been placed under the direction, management and control of the Municipality, all property, endowments and funds belonging thereto shall be held by the Municipality in trust for the purposes to which such property, endowments and funds were lawfully applicable at the time when the institution was so placed:Provided that the extent of the independent authority of the Municipality in respect of any such institution may, from time to time, be prescribed by the Government:Provided also that nothing in this section shall be held to prevent the vesting of any trust property in the Treasurer of Charitable Endowments under the law relating to charitable endowments for the time being in force.