Precisely! But these are NOT mistakes. These a$$hats know that these bills are rarely perused before signing, so it will slip through. Perhaps they should be removed for gross negligence—the signer and the introducer.
Florida passed a CRIMINAL liability statute for municipal public officials who passed, kept, OR refused to remove any anti-secondment amendment law that was already preempted by the state.
IOW if a politician passed this law in FL, they faced PERSONAL liablity and criminal prosecution.
THAT is a law to slip through.