Except as hereinafter in section 40:37-239 of this title provided, all real estate taken or held under the provisions of sections 40:37-195 to 40:37-247 of this title for the purpose of public parks shall be forever kept open and maintained as such, and no steam or other railroad shall be laid out on, or maintained or operated in or on any portion of the parks, open spaces, boulevards, parkways or roadways laid out and located under said sections 40:37-195 to 40:37-247, except at such places and in such manner as the commission shall by resolution approve.