The prohibitions in sections 2023 and 2024 do not apply to law enforcement entities, such as the State Police, a county sheriff's office and local law enforcement departments, to the extent the prohibitions restrict a law enforcement entity's ability to protect the public or investigate criminal activity.
5 M.R.S. § 2027