§ 456. Municipal railroads. Real property held and used for railroad purposes by any corporation, all of the capital stock of which is owned by a municipal corporation of this state, shall be exempt from taxation and exempt from special ad valorem levies and special assessments to the extent provided in section four hundred ninety of this chapter.