A US federal court on Wednesday issued an order blocking the Trump administration from arresting and detaining refugees living in Minnesota under the PARRIS initiative while a case challenging the initiative proceeds.

The District Court for the District of Minnesota issued a temporary restraining order against President Donald Trump’s administration that prohibits the president from using Immigration and Customs Enforcement (ICE) officers to arrest refugees who are living in Minnesota, but are not yet legal citizens.

The order comes as a response to a challenge filed in Minnesota by a group of refugees represented by non-profit groups International Refugee Assistance Project, Beer Montague, and the Center for Human Rights and Constitutional Law.

Judge John R. Tunheim penned the opinion with a focus on the inherent legality of refugees living in Minnesota, stating:

It is also essential to emphasize that the refugees impacted by this Order are carefully and thoroughly vetted individuals who have been invited into the United States because of persecution in the countries from which they have come. They are not committing crimes on our streets, nor did they illegally cross the border. Refugees have a legal right to be in the United States, a right to work, a right to live peacefully—and importantly, a right not to be subjected to the terror of being arrested and detained without warrants or cause in their homes or on their way to religious services or to buy groceries.

The PARRIS initiative, launched in early January, aims to reexamine legal status of refugees in Minnesota through more intensive background checks and a more thorough verification of refugee claims. The Department of Homeland Security (DHS) explained that its top priority always is to protect American citizens first, and PARRIS does so by preventing the “weaponiz[ation]” of the American immigration system in Minnesota, which DHS has called “ground zero for the war on fraud.”

PARRIS and DHS’s statement all fall under a wider campaign pursued by Trump with his issuing of Executive Order 14161 and Proclamation 10949, which both implement stricter immigration restrictions in the US.