The penalty provisions of this chapter, including those directed at reporting violations or the conduct or attempted conduct of unlawful financial transactions, the unlawful transportation or attempted transportation of monetary instruments, and the concealment of unlawful proceeds or their ownership are not applicable to law enforcement officers who engage in aspects of such activity for bona fide authorized undercover law enforcement purposes in the course of or in relation to an active criminal investigation, active criminal intelligence gathering, or active prosecution.