Sections 5-405, 5-406, and 5-407 of this subtitle apply to all railroads operated by electricity, cable, or other improved motive power, whether the property proposed to be condemned is located in a county or Baltimore City, where streets and alleys have not been opened and occupied as city streets.