In any action maintained under Section 12607, the defendant may also show, by way of an affirmative defense, that there is no more feasible and prudent alternative to the defendant’s conduct, and that such conduct is consistent with the protection of the public health, safety, and welfare.