State and local officials have objected to federal officers in their cities. In the case of state district attorney in Philadelphia, he has said that he would arrest federal agents if they violated state law.
My understanding is that any state official who interferes with federal agents in their enforcement of federal law could be arrested and charged with federal crimes. Here is an example of a law that make it illegal to threaten or harass federal agents:
(1) forcibly assaults, resists, opposes, impedes, intimidates, or interferes with any person designated in section 1114 of this title while engaged in or on account of the performance of official duties; or
(2) forcibly assaults or intimidates any person who formerly served as a person designated in section 1114 on account of the performance of official duties during such person’s term of service,
shall, where the acts in violation of this section constitute only simple assault, be fined under this title or imprisoned not more than one year, or both, and where such acts involve physical contact with the victim of that assault or the intent to commit another felony, be fined under this title or imprisoned not more than 8 years, or both.
Here is a similar statute for conspiracy to impede or injury an agent:
It looks like just threatening to arrest an agent could be sufficient for a violation of federal law if the arrest is related to his official duties. I see no exception for state officials.
Have state or local officials ever been prosecuted under these statutes?
What would the political consequences be for successful prosecution of a state or local official for violations of these federal laws?
I suspect that the federal response could be immediate and severe if a local official attempted to arrest a federal agent while conducting official duties. To my knowledge not even Southern segregationists were foolish enough to try that back in the 1950s and 60s.
On the other hand, all it takes is one mayor to order the local police to arrest federal agents because they are enforcing federal law in a way he objects to. The situation could get very strange very quickly.