No prosecution may be brought under section 18-8-502, 18-8-503, or 18-8-504 if the substance of the defendant's false statement is the entry of a plea of not guilty in a previous criminal action in which he or she was accused of an offense.
C.R.S. § 18-8-507