Nothing in sections to shall modify, change, or abrogate any obligation of any railroad company or companies to maintain, reconstruct, or keep in repair any viaduct or subway previously built or any replacement of such viaduct or subway under any agreement, statute, or ordinance previously in effect.