Definitions matter for laws. Switching in this context is not yard switching, as that is limited to the yard. It is only for actual trains switching tracks. The railroad often abuses the yard switching with stopped trains blocking intersections for long periods of time. That violates both the definition of switching (because yard switching is only done within a yard by definition and definition is what matters for legal statutes) and normal switching only applies "when the train is in motion" for the Idaho statute. Either way, call the number and complain. Malicious compliance has power.
They put up a 15 minute limit, but then put in "Oh, but so long as the train is doing 'SOMETHING' then that limit doesn't count".
[1] https://legislature.idaho.gov/statutesrules/idstat/title49/t...