The supremacy clause of the constitution asserts that federal law takes precedence over state laws. There are thousands of state laws on the books that are basically rendered null, because a federal law overrides it. One clear example is segregation which was on the books in some states decades after the civil rights movement.
The federal government and DOJ has declined to prosecute Marijuana, but they definitely have the right to do so.
> One clear example is segregation which was on the books in some states decades after the civil rights movement.
Some states took over a decade after Brown v Board to actually integrate school systems. So again, another instance of state laws seeming to trump federal laws.
If the idea is just not enforcing the supremacy of federal laws is enough, then not enforcing the federal law over the state law which bar sharing info with federal agencies is also in place here so far