That just begs the question: may the federal government gives orders to the States or State officials? For the third time since 1992, the Supreme Court has said "no." That doesn't mean any State may interfere with the federal government enforcing federal law. It simply means if the feds want the States to enforce federal law, they must get the States to consent to doing so.
The 10th Amendment protects the States from being drafted by the federal government into being federal agents. The United States is a federal republic and so the States must be able to exist, subject to the Supremacy Clause, independently of the federal government.
The issue before us is both the refusal of some local officials to acknowledge the jurisdiction of federal law and in some cases the deliberate subversion of federal law by local officials. We are not here discussing the federal government co-opting local authority. Rather, the issue is the refusal of some local officials to recognize the legitimate authority of federal law where it applies, as in illegal border crossing.