My comment comes from your question.
This is about the Oregon governor openly failing to enforce federal immigration law (Oregon is a "sanctuary state") and threatening to try and prosecute ICE agents for enforce federal immigration law. You can try and ask hypothetical questions about some unnamed state law allegedly being violated by ICE agents, but Oregon successfully prosecuting ICE agents for enforcing federal immigration law is never going to happen.
Not that the current administration 'gives a rat's ass' about following the U.S. Constitution, but:
Tenth Amendment Rights Reserved to the States and the PeopleThe powers not delegated to the United States by the Constitution, nor prohibited by it to the States, are reserved to the States respectively, or to the people.
Further defined; As per the 10th Amendment of the U.S. Constitution, the the federal government cannot "command" state and local officials to enforce federal law, including immigration law. In legal challenges to sanctuary policies, courts have consistently rejected efforts to force states to comply with federal immigration enforcement requests.