A local entity or a person employed by or otherwise under the direction or control of a local entity shall not consider race, skin color, language spoken, or national origin while enforcing state, local, and municipal laws except to the extent permitted by the Constitution of the United States or the Constitution of the State of Iowa.