For indispensable reporting on the coronavirus crisis, the election, and more, subscribe to the Mother Jones Daily newsletter.

A federal judge has temporarily blocked the Trump administration’s executive order that allows states to refuse to resettle refugees. Last week, Texas announced that it would stop accepting refugees under President Donald Trump’s September order, although 40 states have affirmed that they will continue to take them in.

In a preliminary injunction issued on Wednesday, Maryland federal district court judge Peter Messitte decided that allowing Executive Order 13888 to remain in effect is likely illegal. Messitte wrote:

By giving States and Local Governments the power to veto where refugees may be resettled—in the face of clear statutory text and structure, purpose, Congressional intent, executive practice, judicial holdings, and Constitutional doctrine to the contrary—Order 13888 does not appear to serve the overall public interest. Granting the preliminary injunctive relief Plaintiffs seek does. Refugee resettlement activity should go forward as it developed for the almost 40 years before Executive Order 13888 was announced.

Read Messitte’s opinion below: