Although recreational marijuana remains illegal under federal law, federal policy has shifted in recent years.