Pope Francis’ plan to visit a refugee centre during his trip to Bulgaria, the European Union’s poorest country, has exposed the divide between the country’s hard line against migrants and the pontiff’s view that reaching out to vulnerable people is a moral imperative.

On a two-day trip that began on Sunday, Pope Francis plans to tour a refugee centre and dive into the Vatican’s complicated relations with the Bulgarian Orthodox Church.

He will then have a day-long stop in neighbouring North Macedonia on Tuesday, the first by a Pope.

Pope Francis will meet prime minister Boyko Borisov, whose centre-right, pro-Brussels coalition government includes three nationalist, anti-migrant parties.

The government has called for the closure of EU borders to migrants and sealed off its own frontier to Turkey with a barbed wire fence.

Pope Francis visits Ireland – in pictures Show all 55 1 /55 Pope Francis visits Ireland – in pictures Pope Francis visits Ireland – in pictures Pope Francis celebrates the Holy Mass at the Phoenix Park, in Dublin AP Pope Francis visits Ireland – in pictures Pope Francis arrives at Phoenix Park for a Papal Mass of the World Meeting of Families in Dublin EPA Pope Francis visits Ireland – in pictures A vigil takes place at the site of the mass grave which contained the remains of 796 named babies from the Bon Secours Mother and Baby home in Tuam. The vigil coincides with the Phoenix park mass which is taking place in Dublin held by Pope Francis. Excavations at the site in 2017 revealed underground structures which held babies bodies with ages ranging from 35 weeks to three years old with most of the dead buried in the 1950s when the facility was run by the Bon Secours Sisters, a Catholic religious order of nuns who received unmarried pregnant women to give birth Getty Pope Francis visits Ireland – in pictures An aerial view of the crowd at Phoenix Park Getty Images Pope Francis visits Ireland – in pictures Children queue for communion during Pope Francis' closing Mass PA Pope Francis visits Ireland – in pictures The Stand4Truth rally gathers outside a former Magdalene laundry in Dublin as part of the demonstrations against clerical sex abuse PA Pope Francis visits Ireland – in pictures Pope Francis leads the Holy Mass at Phoenix Park AFP/Getty Pope Francis visits Ireland – in pictures Pope Francis arrives to celebrate the Holy Mass at the Phoenix Park AP Pope Francis visits Ireland – in pictures The names of the victims are read out as a vigil takes place at the site of the mass grave which contained the remains of 796 named babies from the Bon Secours Mother and Baby home Getty Images Pope Francis visits Ireland – in pictures Pope Francis leads the Holy Mass at Phoenix Park AFP/Getty Pope Francis visits Ireland – in pictures A member of the clergy carries a bowl of incense PA Pope Francis visits Ireland – in pictures Pope Francis celebrates the Holy Mass at the Phoenix Park, in Dublin, Ireland, Sunday, Aug. 26, 2018. Pope Francis is on the second of his two-day visit to Ireland. (AP Photo/Matt Dunham) Matt Dunham AP Pope Francis visits Ireland – in pictures A vigil takes place at the site of the mass grave which contained the remains of 796 named babies Getty Images Pope Francis visits Ireland – in pictures Members of the public pray as they watch Pope Francis deliver a Papal Mass of the World Meeting of Families at Phoenix Park EPA Pope Francis visits Ireland – in pictures Pope Francis attends the closing Mass at the World Meeting of Families at Phoenix Park in Dublin PA Pope Francis visits Ireland – in pictures Pope Francis passes by a banner of a protester as he leaves St Mary's Pro-Cathedral AP Pope Francis visits Ireland – in pictures Pope Francis speaks during his visit to the Capuchin Day Centre for Homeless in Dublin AP Pope Francis visits Ireland – in pictures Pope Francis waves to the waiting crowds on Christchurch PA Pope Francis visits Ireland – in pictures Pope Francis waves to the waiting crowds on College Green PA Pope Francis visits Ireland – in pictures Members of the public wave at Pope Francis as he travels through the city Getty Images Pope Francis visits Ireland – in pictures Pope Francis laughs as he leaves St Mary's Pro Cathedral during his visit to Dublin Reuters Pope Francis visits Ireland – in pictures Two boys wave flags after climbing a post as they wait for Pope Francis Getty Pope Francis visits Ireland – in pictures Pairs of baby shoes are hung from black ribbons on Gardiner Street in Dublin in memory of the children who died at the Bon Secours Mother and Baby Home in Tuam, Co Galway PA Pope Francis visits Ireland – in pictures Crowds on O'Connell Street PA Pope Francis visits Ireland – in pictures DUBLIN, IRELAND - AUGUST 25: (NO SALES) In this handout image provided by Maxwell Photography for 2018 WMOF2018, Pope Francis and Taoiseach Leo Varadkar greet a child at Dublin Castle on August 25, 2018 in Dublin, Ireland. Pope Francis is the 266th Catholic Pope and current sovereign of the Vatican. His visit, the first by a Pope since John Paul II's in 1979, is expected to attract hundreds of thousands of Catholics to a series of events in Dublin and Knock. During his visit he will have private meetings with victims of sexual abuse by Catholic clergy. (Photo by WMOF2018/Maxwell Photography via Getty Images) Handout WMOF2018/Maxwell Photography/Getty Pope Francis visits Ireland – in pictures Pope Francis memorabilia on sale on O'Connell Street PA Pope Francis visits Ireland – in pictures Pope Francis arrives at St Mary's Pro-Cathedral during his visit to Ireland to attend the 2018 World Meeting of Families AFP/Getty Pope Francis visits Ireland – in pictures Pope Francis waves to the waiting crowds on O'Connell Street PA Pope Francis visits Ireland – in pictures Pope Francis addresses the congragation at St Mary's Pro-Cathedral AFP/Getty Pope Francis visits Ireland – in pictures Stephen O'Brien selling bottles of holy water from the St Mary's Pro Cathedral PA Pope Francis visits Ireland – in pictures Pope Francis prays inside St Mary's Pro Cathedral Reuters Pope Francis visits Ireland – in pictures A man waves a rainbow flag behind a model of a pope which stands in the window above a bar Getty Pope Francis visits Ireland – in pictures People hold a banner against Pope Francis on the way to St Mary's Pro-Cathedral AP Pope Francis visits Ireland – in pictures Nuns wait by the side of the road for Pope Francis Reuters Pope Francis visits Ireland – in pictures A model of a pope is placed in the window above a bar as crowds wait for Pope Francis to travel through the city Getty Pope Francis visits Ireland – in pictures Crowds on O'Connell Street, Dublin waiting to see Pope Francis as he travels in the Popemobile PA Pope Francis visits Ireland – in pictures Pope Francis waves to wellwishers as he arrives at Dublin Airport Getty Pope Francis visits Ireland – in pictures His visit, the first by a Pope since John Paul II's in 1979 is expected to attract hundreds of thousands of Catholics to a series of events in Dublin and Knock PA Pope Francis visits Ireland – in pictures Pope Francis talks to journalists aboard a plane flying from Fiumicino aiport to Dublin AFP/Getty Pope Francis visits Ireland – in pictures LGBT protestors from Dublin Pride and We Are Church with flags and umbrellas on Ha'Penny Bridge, Dublin to remember the victims of clerical sex abuse ahead of the start of the visit to Ireland by Pope Francis PA Pope Francis visits Ireland – in pictures Pope Francis disembarks from the aircraft as he arrives at Dublin Airport Getty Pope Francis visits Ireland – in pictures Woman wait for Pope Francis to drive past, in Dublin Reuters Pope Francis visits Ireland – in pictures Pope Francis arrives at Dublin International Airport, at the start of his two-day visit to Ireland, August 25, 2018. REUTERS/Clodagh Kilcoyne CLODAGH KILCOYNE Reuters Pope Francis visits Ireland – in pictures Taoiseach Leo Varadkar delivers a speech watched by Pope Francis in St. Patrick's Hall at Dublin Castle WMOF2018/Maxwell Photography/Getty Pope Francis visits Ireland – in pictures Protesters hold banners during a demonstration against clerical sex abuse, in Dublin Reuters Pope Francis visits Ireland – in pictures Pope Francis plants a tree during a meeting with Irish President Michael D Higgins, at Aras an Uachtarain PA Pope Francis visits Ireland – in pictures Pope Francis walks with the President of Ireland Michael Higgins at Aras an Uachtarain WMOF2018/Maxwell Photography/Getty Pope Francis visits Ireland – in pictures Pope Francis arrives at Dublin International Airport, at the start of his two-day visit to Ireland, August 25, 2018. REUTERS/Clodagh Kilcoyne CLODAGH KILCOYNE Reuters Pope Francis visits Ireland – in pictures Pope Francis, center, is flanked by Irish Prime Minister Leo Varadkar, right, as they arrive to meet authorities, in Dublin AP Pope Francis visits Ireland – in pictures Protestors wearing baby shoes, to signify the children who died in mother and baby homes in Ireland, protest in Dublin ahead of the start of the visit to Ireland by Pope Franci PA Pope Francis visits Ireland – in pictures Pope Francis exchanges gifts with Irish Prime Minister Leo Varadkar AFP/Getty Pope Francis visits Ireland – in pictures Pope Francis speaks with President Michael D Higgins in his study during a visit to Aras an Uachtarain in Phoenix Park, Dublin PA Pope Francis visits Ireland – in pictures Navy band march prior to the arrival of Pope Francis at the Presidential residence in Dublin AP Pope Francis visits Ireland – in pictures Eddie McGuinness from Dublin LGBTQ Pride carries a rainbow flag across Ha'Penny Bridge, Dublin ahead of the start of the visit to Ireland by Pope Francis PA Pope Francis visits Ireland – in pictures A message left by Pope Francis in the visitors book at Aras an Uachtarain in Phoenix Park PA

The Argentine Pope has made the plight of migrants and refugees a hallmark of his papacy, urging governments to build bridges, not walls, and to do what they can to welcome and integrate refugees fleeing wars and poverty.

His visit falls just three weeks before European parliament elections across the EU’s 28 nations in which nationalist, anti-migrant parties are expected to make a solid showing.

Pope Francis will visit a refugee centre in a former school on the outskirts of Sofia, the capital. Radostina Belcheva of the Council of Refugee Women in Bulgaria said his visit will show solidarity with those in need.

“But really, their whole acceptance is a matter for each of us and for our society,” Ms Belcheva said.

Bulgaria’s tough stance on refugees has been a deterrent: while some 20,000 people applied for asylum in Bulgaria in 2015, that number dwindled to 2,500 last year, according to the state refugee agency.

Pope Francis also will meet with the leader of the Bulgarian Orthodox Church, Patriarch Neofit, during a visit on Sunday to the headquarters of the Holy Synod, the church’s governing body.

The conservative Bulgarian church does not participate in official Catholic-Orthodox dialogue and even snubbed a pan-Orthodox council in Crete in 2016.

The Holy Synod has made clear that it will not take part in any joint services or prayers with the Pope, although a children’s choir is expected to sing for him.

Pope Francis is also expected to minister to Bulgaria’s tiny Catholic community, which represents just under 1 per cent of the population of some 7 million.

Despite the small numbers of Catholics, Bulgarians are particularly fond of one of the 20th-century Catholic Church’s most important figures, Pope John XXIII. The former Angelo Roncalli was the Vatican envoy to Bulgaria from 1925-1934 and is known affectionately as the “Bulgarian Pope”.

Bulgaria, which joined the EU in 2007, is the bloc’s poorest country, with the lowest average monthly salary – 575 euros (£489) – and the smallest average monthly pension of 190 euros.

The World Bank has warned that Bulgaria needs to grow 4 per cent a year over the next 25 years to catch up with the rest of the EU. One of the main reasons it has not is widespread corruption and graft, which are draining the economy and keeping foreign investments away.

Bulgaria is also the world’s fastest shrinking nation, according to the United Nations, with its current population of 7 million expected to dwindle to 5.4 million by 2050 and to 3.9 million by the end of the century.

Bulgaria has the EU’s highest mortality rate and one of the bloc’s lowest birth rates. That, combined with tens of thousands of workers leaving the country annually, poses serious problems for funding the country’s pension system.