Union leaders argued the new law illegally preempts existing state traffic laws