Tex. Transp. Code § 311.053
The governing body of a general-law municipality or special-law municipality may close temporarily or permanently any part of a street or alley for the exclusive use by a railroad company or other corporation having the right of eminent domain or may ratify an ordinance closing a street or alley for that purpose if:
Acts 1995, 74th Leg., ch. 165, Sec. 1, eff. Sept. 1, 1995.