Pope Francis has called for a radical change of attitude towards immigrants, saying they should be welcomed with dignity and denouncing the "populist rhetoric" he said was fuelling fear and selfishness in rich countries.
The pope did not single out any country for criticism on Tuesday but his words may resonate in the United States, where courts have blocked an executive order by President Donald Trump to suspend arrivals from seven mainly Muslim countries, and in a Europe still struggling with a mass influx of more than 1.3 million migrants and refugees since the start of 2015.
Immigrants should not be rejected out of hand as unworthy rivals but given a "responsible and dignified welcome," particularly those fleeing war, the pontiff told a conference on migration in Rome.
"Faced with this kind of rejection, rooted ultimately in self-centeredness and amplified by populist rhetoric, what is needed is a change of attitude, to overcome indifference and to counter fears with a generous approach of welcoming those who knock at our doors."
Populist anti-immigrant parties have made gains in a number of European countries, including the Netherlands, where anti-Muslim politician Geert Wilders on Saturday launched his election campaign with a promise to crack down on "Moroccan scum".
Countries had a "moral imperative" to help exiles, asylum seekers, migrant workers, victims of human trafficking and even migrants in "irregular situations," he added in an apparent reference to undocumented immigrants.
A number of US cities have filed lawsuits challenging Trump's executive order directing the federal government to withhold money from cities that have adopted sanctuary policies toward such people.
Francis even echoed the Declaration of Independence by saying they all had "inalienable rights".
"Defending their inalienable rights, ensuring their fundamental freedoms and respecting their dignity are duties from which no one can be exempted," he said.