§ 177. Use of tracks of other roads. Any railroad corporation in this state, whose cars are run and operated by horses or other motive power, authorized by this article, upon the surface of the street, excepting in the county of New York, may, for the purpose of enabling it to connect with and run and operate its cars between its tracks, and a depot or car-house owned by it, run upon, intersect, and use, for not exceeding five hundred feet, the tracks of any other railroad corporation, the cars of which are run and operated in like manner with the necessary connections and switches for the proper working and accommodation of the cars upon such tracks, and in connection with such depot or car-house, upon paying therefor such compensation as it may agree upon with the corporation owning the tracks to be so run upon, intersected, and used; and in case such corporations can not agree upon the amount of such compensation, the same shall be ascertained and determined in the manner prescribed in the eminent domain procedure law.