The department and the district attorney, sheriff, and all peace officers of the county in which any refuge or part thereof is situated, shall enforce all of the provisions of this code relating to such refuge, and institute and assist in prosecutions for violations thereof.