Basically this. I'm sure there are many state and local laws that actually violate federal law; it's just that they don't get repealed until the courts say it has to be after a case was brought up...