WASHINGTON (CBS/AP) — President Donald Trump is considering releasing detained immigrants into so-called sanctuary cities, which includes places like Philadelphia. This comes just hours after White House and Homeland Security officials insisted the idea had been rejected as fast as it had been proposed.

Due to the fact that Democrats are unwilling to change our very dangerous immigration laws, we are indeed, as reported, giving strong considerations to placing Illegal Immigrants in Sanctuary Cities only…. — Donald J. Trump (@realDonaldTrump) April 12, 2019

….The Radical Left always seems to have an Open Borders, Open Arms policy – so this should make them very happy! — Donald J. Trump (@realDonaldTrump) April 12, 2019

“Due to the fact that Democrats are unwilling to change our very dangerous immigration laws, we are indeed, as reported, giving strong considerations to placing Illegal Immigrants in Sanctuary Cities only,” Trump tweeted. He added that, “The Radical Left always seems to have an Open Borders, Open Arms policy – so this should make them very happy!”

He later told reporters that he was “strongly looking at” the idea of releasing migrant families into those communities, though there were no immediate plans in place to implement Trump’s threat.

New Hope Officer Won’t Face Charges For Shooting Suspect Inside Holding Cell After Mistaking Gun For Taser

“They’re always saying they have open arms. Let’s see if they have open arms,” he said.

Responding to the idea, Philadelphia Mayor Jim Kenney said, “The city would be prepared to welcome these immigrants just as we have embraced our immigrant communities for decades.”

“We welcome immigrants in Philadelphia with open arms. Our diversity makes Philadelphia a great city and our immigration policies encourage that diversity of thought and spirit. While the Trump Administration’s proposal shows their disdain to basic human dignity, the City would be prepared to welcome these immigrants just as we have embraced our immigrant communities for decades,” said Kenney in a statement. “Unfortunately, the President’s plan demonstrates the utter contempt that he and his Administration has for basic human dignity and the core values on which this nation was founded. I am offended — but frankly, not surprised, as this President has demonstrated time and again his desire to flout the rule of law to appease his political base — as he does today in proudly tweeting about the idea. To use people as tools for political retribution, without an iota of concern for their health and well being, is disgraceful.”

The reversal, which appeared to catch officials at the Department of Homeland Security off guard, came as critics were blasting news that the White House had at least twice considered a plan to release detained immigrants into so-called sanctuary cities, using migrants as pawns to go after political opponents.

Before Trump’s comments, both the Department of Homeland Security and a White House official had insisted in nearly identical statements that that plan had been floated but then flatly rejected.

Evesham Township Citizens Bank Employee Arrested For Allegedly Recording Women Inside Work Bathroom

But not, apparently, by the president, who emphatically revived the idea.

“Sanctuary cities” are places where local authorities do not cooperate with Immigration and Customs Enforcement officials, denying information or resources that would help ICE round up for deportation people living in the country illegally.

They include New York City and San Francisco, home city of House Speaker Nancy Pelosi, who on Friday called the idea “unworthy of the presidency of the United States and disrespectful of the challenges that we face as a country, as a people, to address who we are — a nation of immigrants.”

The idea of pressing immigration authorities to embrace the plan was discussed in November and then again in February as the Trump administration struggled with a surge of migrants at the border, according to three people who spoke on condition of anonymity to outline private conversations. Homeland Security and ICE lawyers quickly rejected the proposal, according to the people, and it was dropped on the grounds that it was complicated, too expensive and a misuse of funds, two of the people said.

The plan, which was first reported by the Washington Post, is one of many ideas considered by an increasingly frustrated White House in recent months as Trump has railed against the growing number of Central American migrant families crossing the southern border and looked for new ways to increase leverage on congressional Democrats to change laws that Trump insists are making the problem worse.

Officials say they are running out of options, and have proposed and recycled numerous ideas that have never come to fruition. Trump in recent weeks has discussed the idea of renewing his administration’s controversial family separation policy.

There were at least two versions of the sanctuary city plan that were considered, according to one of the people familiar with the effort. One would have moved people who had already been detained and were being held elsewhere to places with Democratic opponents of the president, while the other would have transported migrants apprehended at the border directly to San Francisco, New York City, Chicago and other spots.

Groom Accused Of Sexually Assaulting Teen Waitress At Own Wedding Reception To Stand Trial

ICE arrests people in the U.S. illegally and also manages migrants who present themselves at border crossings and ask for asylum. The surge of migrant families arriving at the southern border has been taxing the system, forcing ICE to set free more than 125,000 people as they await court hearings — a practice Trump has derided as “catch and release.” With immigrant processing and holding centers overwhelmed, the administration has also been busing people hundreds of miles inland and releasing them at Greyhound stations and churches in cities such as Albuquerque, San Antonio and Phoenix because towns close to the border already have more than they can handle.

Federal court rules prohibit the detention of children longer than 20 days.

Revelation of the “sanctuary cities” plan drew immediate condemnation from Pelosi and other Democrats.

Rep. Bennie Thompson of Mississippi, who chairs the House Homeland Security committee, said: “The fact that this idea was even considered – not once but twice – serves as a reminder that the Trump Administration’s reckless immigration agenda is not about keeping the country safe, but about partisan politics and wantonly inflicting cruelty. ”

Transporting large groups of immigrants to distant cities would be expensive and burdensome for Immigration and Customs Enforcement, which is already strapped for cash. The agency has said it doesn’t have the resources for immigrants processed by the Border Patrol and Border Patrol in most southern border sectors and is now instead releasing families after a health screening and criminal background check, leaving local nonprofits to help them make travel arrangements.

Flights chartered by ICE cost about $7,785 per flight hour, according to the agency. They require multiple staffers, including an officer who coordinates, several others who fly and monitor passengers and an in-flight medical professional. The agency also uses commercial flights but requires that migrants to pay for those. It’s unclear if that would be the case for families, who usually arrive with no money and rely on relatives already in the U.S. to pay for transportation.

Still, many “sanctuary” communities would likely welcome the immigrants in question and have nonprofit legal groups that could help them strengthen their legal cases to stay in the country.

Matt Albence, ICE’s new acting director, denied the White House pressured immigration officials to implement the idea when he was serving as deputy.

“I was asked my opinion and provided it, and my advice was heeded,” he said in a statement.

The Department of Health and Human Services said this week that it had started scouting vacant properties that could be turned into facilities for holding migrant children in several cities, including Atlanta, Dallas, Houston, Phoenix, and San Antonio.

Those facilities would be licensed by each state and likely take several months to be approved and opened, separating them from the rapidly expanding emergency shelter at Homestead, Florida, and the now-closed tent facility at Tornillo, Texas.

Grandmother Tied 9-Year-Old Granddaughter To Bed, Forced Her To Eat Off Floor, Police Say

The Defense Department has also been reviewing a number of military bases to find a location that can house up to 5,000 unaccompanied migrant children as the U.S. braces for a surge of people crossing the U.S.-Mexico border this spring. Health and Human Services submitted the request for space last month, as Homeland Security leaders warned that tens of thousands of families were crossing the border each month. HHS has traditionally been responsible for providing temporary shelter to unaccompanied migrant.

ICE is tasked with arresting people living in the country illegally — including some who have been here for decades. Under the Trump administration, ICE has significantly stepped up arrests, including of people who have no U.S. criminal records.

In response, some cities have banished ICE from jails where agents could easily pick up immigration violators. Police in New York, Baltimore and Seattle rarely, if ever, disclose information about when suspected criminals in the U.S. illegally will be released from custody.

Democrats have said they will tackle immigration bills, possibly as soon as they return from their spring recess, and Senate Republican leader Mitch McConnell has indicated an interest in working on the issue.

(© Copyright 2019 CBS Broadcasting Inc. All Rights Reserved. The Associated Press contributed to this report.)