; or (B) a court of competent jurisdiction had issued a final decision on the merits holding, without reversal, vacatur, or preemption, that the specific conduct alleged to be unlawful was consistent with the Constitution and Federal laws. (2) A law enforcement agency or unit of local government who employed a law enforcement officer subject to an action under subsection (a), shall not be liable for such action if the law enforcement officer is found not liable under paragraph (1) and was acting within the scope of their employment. (c) Definitions In this section: (1) Law enforcement officer The term law enforcement officer means any Federal, State, Tribal, or local official who is authorized by law to engage in or supervise the prevention, detection, investigation, or the incarceration of any person for any violation of law, and has the statutory powers of arrest or apprehension, including police officers and other agents of a law enforcement agency. (2) Law enforcement agency The term law enforcement agency means any Federal, State, Tribal, or local public agency engaged in supervision, prevention, detection, investigation, or the incarceration of any person for any violation of law, and has the statutory powers of arrest or apprehension. . (b) Effective date The amendments made under subsection (a) shall take effect on the date that is 180 days after the date of the enactment of this Act.