In the performance of any duties provided for by Sections 12-17-94(a) and 12-17-251(c), every magistrate and clerk of the circuit and district courts of this state shall have absolute judicial immunity from any liability arising from the execution of the duties provided for by Sections 12-17-94(a) and 12-17-251(c).
Ala. Code § 12-17-5 (1975)