A utility may rely upon or require a writ of possession under Chapter 9 or 9A, when discontinuing or refusing to discontinue service at a dwelling, dwelling unit, or premises, and the utility shall not be liable for an action if based upon a writ of possession.
Ala. Code § 35-9B-7 (1975)