No facts discovered or evidence obtained in a search or inspection conducted under authority of a warrant issued under this chapter may be competent as evidence in any civil, criminal, or administrative action, nor considered in imposing any civil, criminal, or administrative sanction against any person, nor as a basis for further seeking to obtain any warrant, if the warrant is invalid or if what is discovered or obtained is not a condition, object, activity, or circumstance which it was the legal purpose of the search or inspection to discover; but this does not prevent any such facts or evidence to be so used when the warrant issued is not constitutionally required in those circumstances.
N.D.C.C. § 29-29.1-05