“Across Europe, the winds of xenophobia are blowing,” the Spanish premier said in Argeles-sur-Mer, a seaside town just across the border in southern France where he paid tribute to the exiles of the “Retirada” (Retreat).
He pointed to the recent desecration of Jewish graves in France and to the ongoing dispute over migrants arriving by sea from Africa, pointing to “the ports which refuse to let ships full of sick and hungry people dock.”
“Don't look the other way,” he said.
“Don't think that anti-Semitism, homophobia, xenophobia and nationalism that excludes people, are just small winds that will blow themselves out.”
Argeles-sur-Mer was where around 100,000 Spanish refugees were initially held at a squalid open-air camp that the photographer Robert Capa denounced as called a “hell on sand”.
It was the final stop on Sanchez's visit which also took him to several other key Retirada sites.
Rendimos homenaje, en el cementerio de Colliure, a Antonio Machado. A él y a los miles de hombres y mujeres obligados a huir. Hoy les recordamos con orgullo.
Por un país para todos y todas. Nunca más una España en blanco y negro. #MemoriaDelExilio #80AniversarioExilioRepublicano pic.twitter.com/54vJ0xJXPc
— Pedro Sánchez (@sanchezcastejon) February 24, 2019
The visit came as Sanchez, who took over as prime minister last June, gears up to face a populist challenge back home ahead of early elections in April in the latest chapter of political turbulence in Spain.
His efforts to honour the memory of Franco's victims have infuriated the new far-right Vox party and the rightwing Popular Party, alongside his pledge to move the former dictator's remains from an opulent mausoleum near Madrid.
'The story of my family'
Earlier on Sunday, Sanchez became the first Spanish prime minister to visit the grave of Manuel Azana, the last Republican president before Franco overthrew the government in 1939.
As he visited the site in Montauban, north of Toulouse, he laid a wreath of flowers in the red and yellow of the Spanish flag on his tomb.
Later he visited the burial site of Sevillian poet Antonio Machado, who died in the seafront village of Collioure, near the border, just weeks after fleeing when Franco's forces took Barcelona in January 1939.
The city's fall signalled the start of the Retirada, as hundreds of thousands of people fled over the Pyrenees, many on foot, while being bombarded by Franco's forces.
“Both of them died in France, far from their native lands,” Sanchez said of Azana and Machado.
“Spain should have asked their forgiveness much sooner for this infamy.
From them and so many others who were in the same struggle.”
At Sanchez's request, no French government officials joined him on the visit although local officials did participate.
“This is the story of my family,” said 70-year-old Juan Francisco Ortiz, who came from Perpignan to Argeles-sur-Mer to honour his father, a captain in the Republican army.
Like thousands of other Spaniards held at internment camps in southern France, Ortiz's father was eventually sent to the Nazi concentration camp at Mauthausen, Austria, when Germany invaded France.
“My father lived in exile for 28 years before being able to return, because the Spanish Republicans freed from the concentration camps… couldn't go home, because they would be shot,” he said.
Opinion polls suggest Sanchez could be risking his post with his call earlier this month for new elections in April, Spain's third in less than four years.
The Socialist leader could lose his fragile coalition majority in parliament as his rightwing opponents in the PP and Vox gain momentum, fuelled by anger over his handling of the Catalan secession crisis.
The emergence of Vox in particular highlights populist and eurosceptic movements gaining ground across Europe, such as the “yellow vest” protests that have shaken the government of French President Emmanuel Macron.
The tensions are set to play out on a continental scale ahead of European Parliament elections in May.
“We have to respect gravestones, forget race, honour freedom, open borders and create welcoming ports,” Sanchez said on Sunday.
“This is the idea of Europe. The idea on which has been built the best period humanity has known,” he said.