
Margaret R. answered 01/19/21
Bilingual University Student College Counselor
States themselves can decide to pass their own state-specific laws and bills that may contradict federal law. When you are in California, it is legal to be in possession of marijuana. By federal law, marijuana is illegal.
This actually makes it both simultaneously. California state authority will not prosecute you, because it is legal there, but the federal government can make the decision to intervene. This is the "supremacy clause" from Article VI of the Constitution.
For example, in 2015 the Supreme Court ruled that same-sex marriage was a constitutional right via the 14th amendment and that states had to respect this (legalizing it everywhere). A government clerk in Kentucky refused to abide by this (per Kentucky state law). Her appeal to the Supreme Court was rejected and she was jailed for violating federal law.