Code of Alabama
Article 2 - Justification and Excuse.
Section 13A-3-22 - Execution of Public Duty.

Unless inconsistent with other provisions of this article, or with some other provision of law, conduct which would otherwise constitute an offense is justifiable and not criminal when it is required or authorized by law or by a judicial decree or is performed by a public servant in the reasonable exercise of his official powers, duties or functions.