Areas in dedicated highways, streets, and alleys, and in railroad rights-of-way, shall be deemed to be unclassified. In the case of highways, streets, and alleys, such areas shall be used only for the purposes lawfully allowed. In the case of railroad rights-of-way, such areas shall be used solely for the purposes of accommodating tracks, signals, other operative devices, and the movement of rolling stock.