The Department of Homeland Security will make prioritization key in its beefed-up enforcement of the border and the interior of the country—removing criminals first, while more recent arrivals will also face expedited removal.

However, critics call it “mass deportation” that will face a legal challenge.

Homeland Security Secretary John Kelly released implementation memos to agencies to enforce President Donald Trump’s executive orders he signed in January. A key new policy is expanding the number of illegal immigrants subject to “expedited removal” procedures if an illegal immigrant can’t provide evidence they have been in the country for more than two years.

Among other matters, the memos call for moving forward on building a border wall, hiring more Customs and Border Protection agents to stop illegal border crossings, and adding more Immigration and Customs Enforcement agents to police the interior. Also, the Victims of Immigration Crime Engagement Office was established within ICE.

White House press secretary Sean Spicer said the actions Tuesday demonstrate the administration is serious about making the country safer.

“The message from this White House and from DHS is that those people who are in this country and pose a threat to our public safety and committed a crime will be the first to go and we will aggressively be making sure that occurs,” Spicer said during the White House press briefing.

The DHS actions are a welcome change from the Obama administration that interfered with immigration enforcement, said Ira Mehlman, spokesman for the Federation for American Immigration Reform, a pro-enforcement group. But, Mehlman added, the emphasis on prioritizing dangerous illegal immigrants is “a lot like the Obama administration.”

“The past administration put a priority on criminals and those that just entered the United States,” Mehlman told The Daily Signal. “The difference is that the Obama administration just focused on recent arrivals at the border, and sent them back. That’s important, but we also need serious interior enforcement.”

The policies won’t survive a court challenge, said Omar Jadwat, director of the Immigrants’ Rights Project at the American Civil Liberties Union.

“These memos confirm that the Trump administration is willing to trample on due process, human decency, the well-being of our communities, and even protections for vulnerable children, in pursuit of a hyperaggressive mass deportation policy,” Jadwat said in a public statement. “However, President Trump does not have the last word here—the courts and the public will not allow this un-American dream to become reality.”

More than likely, the implementation orders have solid legal ground, said Josh Blackman, an associate professor at South Texas College of Law Houston.

“There is probably not a strong challenge to the order Secretary Kelly signed, but a question of due process could come up regarding expedited removal,” Blackman told The Daily Signal. “If you’re picked up at the border and turned around there usually is no question. Expanding that to being picked up at the interior, that could arguably imply a stronger connection to the U.S. and require due process for removal.”

A legal challenge would have little merit, but doesn’t necessarily mean the administration will prevail, said Hans von Spakovsky, senior legal fellow at The Heritage Foundation.

“It is well within the administration’s authority, but anyone can file a lawsuit, and that won’t stop errant judges from acting,” von Spakovsky told The Daily Signal.

Spicer stressed that the administration is only enforcing immigration law as it would any other law.