The district attorney of the county in which any such nuisance is found, on the relation of the director or the commissioner or any enforcing officer of this chapter, shall maintain, in the name of the people of the State of California, a civil action to abate and prevent such nuisance. Upon judgment and by order of the court, such nuisance shall be condemned and destroyed in the manner directed by the court, or relabeled, denatured, or otherwise processed, or released upon such conditions as the court in its discretion may impose to insure that the nuisance will be abated.