Any street railroad company operating its railroad by steam, electric, or other power shall have the right and may be required by the council or other governing body of any town or city of this state to operate its cars over the tracks of any other street railroad company in whole or in part in said city or town under such rules and regulations as may be prescribed by ordinance, upon the payment by the company so using the tracks of another of just compensation for the use thereof, and the council or other governing body of said city or town shall pass such ordinances as may be necessary to carry this provision into effect.
Ala. Code § 11-47-115 (1975)