The wheels of justice sometimes turn in unexpected directions, and this weekend brought one of those moments that reminds us how deeply the courts can reach into executive branch decision-making.

A federal judge in Massachusetts has thrown a wrench into the Department of Homeland Security’s plans to terminate a controversial immigration program, issuing a temporary restraining order that stops the agency in its tracks, at least for now.

U.S. District Judge Indira Talwani ruled Saturday that DHS likely failed to provide proper legal notice before pulling the plug on Family Reunification Parole programs affecting migrants from seven countries. The judge’s five-page order grants a 14-day emergency stay, giving the administration pause to reconsider its approach.

At the heart of this legal showdown sits a program that has long divided Americans along familiar fault lines. The Family Reunification Parole program allows certain relatives of U.S. citizens or lawful permanent residents to enter the country temporarily while waiting for immigrant visas. This is not a quick process. It can stretch across years, leaving families separated by borders and bureaucracy.

The Department of Homeland Security announced in December its intention to terminate all FRP programs for migrants from Colombia, Cuba, Ecuador, El Salvador, Guatemala, Haiti, and Honduras, along with their immediate family members. The decision reflected a broader shift in immigration enforcement priorities, one that the current administration has pursued with determination.

Judge Talwani’s ruling hinges on a fundamental principle of administrative law. The government cannot simply strip individuals of legal status without following proper procedures. Due process matters, even in immigration cases, and the judge found that DHS likely fell short of its legal obligations in how it communicated these sweeping changes.

The temporary restraining order creates a narrow window. Fourteen days is not much time in the grand scheme of immigration policy, but it is enough to force both sides back to the drawing board. The administration must now decide whether to revise its notification procedures or prepare for a longer legal battle.

This case illustrates the persistent tension between executive authority and judicial oversight. Presidents of both parties have discovered that immigration policy, perhaps more than any other domestic issue, invites immediate legal challenges. Courts have become battlegrounds where competing visions of America’s obligations to foreign nationals play out in technical arguments about administrative procedure.

For the families affected by this ruling, the reprieve offers temporary relief but no permanent answers. Their legal status remains in limbo, dependent on how DHS responds to the court’s concerns and whether subsequent legal challenges succeed.

The broader question remains unanswered. Does the federal government have the authority to terminate these parole programs, provided it follows proper procedures? Or do these programs, once established, create legal rights that cannot be easily revoked? That debate will continue in courtrooms across the country, adding another chapter to America’s long and complicated story of immigration law.

Related: Federal Judge Blocks Trump Administration Freeze on Childcare Subsidies in Five States