Society & Ethics

Spain's People's Party faces backlash over AI video of Sánchez in Morocco shirt

Spain's People's Party used AI to alter a video of PM Pedro Sánchez wearing a Spain shirt, showing him in Morocco's kit — unlabeled, days before Sunday's election, and possibly breaching EU AI rules.

Spanish opposition criticised for AI video of Pedro Sánchez in Morocco shirt
Spanish opposition criticised for AI video of Pedro Sánchez in Morocco shirtPexels / pixabay
By Sophie Lindqvist6 min read

Why it matters

  • The PP altered a 17-second video of Sánchez wearing Spain's number 19 shirt (Lamine Yamal's) to show Morocco's kit, one day after the original was posted.
  • The altered video made no mention of being AI-generated, which critics said could fall short of EU AI obligations.
  • Spain votes on Sunday, with most polls pointing to a PP-led coalition backed by the far-right Vox party.
  • The PP previously stoked outrage with a deepfake video of Sánchez's wife, Begoña Gómez.
  • The PP's replica shirt used number 10, worn for Morocco by Málaga-born Real Madrid player Brahim Díaz, who is Spanish.

One day after Pedro Sánchez posted a 17-second video of himself putting on a Spain football shirt, Spain's opposition People's Party used AI to make it look as if the prime minister had worn Morocco's kit instead. The manipulated clip made no mention of being AI-generated, and critics were quick to note that this could fall short of the EU's obligations on AI — days before Spaniards head to the polls on Sunday.

The original video showed Sánchez speaking directly to the camera. "Because this is what Spain is: a pluralistic and diverse country," he said, turning to reveal the number 19 on his back — the shirt number of Lamine Yamal, Spain's teenage star. The PP's altered version swapped the jersey and reworked Sánchez's speech so that he appeared to advocate wearing the Moroccan team's kit.

The row lands at the sharp end of a bitter, polarised election campaign. Most polls suggest Sánchez's socialist-led government is set to be replaced by a coalition led by the conservative PP and backed by the far-right, anti-immigrant Vox party. Whatever the result, the episode shows how generative AI is now a working tool in Spanish political combat — and how easily it can run ahead of the rules meant to label it.

What did Sánchez's original video say?

Sánchez's video was not a random gesture. It came as a direct response to remarks made earlier this week by Xavier García Albiol, a PP candidate who in 2013 became the first mayor in Spain to face trial for racist remarks and who has been repeatedly accused of employing racist rhetoric. Albiol said he did not like Lamine Yamal — the wonderkid whose talents helped Spain win this year's World Cup and Euro 2024 — citing what he claimed was the teenager's lack of maturity.

Albiol said he would not wear Lamine Yamal's jersey. "I'd feel more comfortable with any other Barça player on the national team," he told the Barcelona-based newspaper Sport.

As people across the country rallied to defend Lamine Yamal, who was born in Spain to parents from Morocco and Equatorial Guinea, Sánchez joined in. He touted Spain as a "plural and diverse" country and said he would wear the shirt of any player on the national team. That stance is what the PP's AI video set out to invert.

The takeaway: the AI clip didn't appear out of nowhere — it was a counterstrike in an argument about who counts as properly Spanish.

Why did the PP do it?

Raúl Martínez Corcuera, a lecturer in media studies at the University of Vic who collaborates with the anti-racist group SOS Racismo, said the manipulation was probably an attempt to steer the campaign towards issues the party sees as vote boosters — such as the mass influx of people into Spain's north African territory of Ceuta.

"I think the goal is to portray Morocco as a threat, cast immigration as a security issue and highlight the government's alleged weakness regarding border control," Martínez Corcuera said.

Throughout the campaign, the PP has consistently sought to portray Sánchez as a pawn of Morocco, and the text accompanying the AI-generated video underlined that framing. The party's leader, Alberto Núñez Feijóo, has said that should he become prime minister, his first foreign trip will be to Morocco, where he will demand that the kingdom respect Spain's territorial integrity or face problems. That hint of confrontation sits awkwardly with the realities of Spain's and the EU's deep reliance on Morocco to control migration into the bloc.

In short: the video served a months-long effort to tie Sánchez to Morocco, and to turn that pairing into a question of border security.

Was the video racist?

Martínez Corcuera said the result was a form of "subtle racism". "Morocco is being used as a symbol of 'the other'," he said, while at the same time "Sánchez and Lamine Yamal were being singled out as 'players' for Spain but not as Spaniards."

The clip tapped into a vein of racism Lamine Yamal has long faced — from the anti-Muslim cheers lobbed at Egypt during a friendly in Barcelona to the spike in racist and Islamophobic messages directed at the player online during the World Cup.

For Martínez Corcuera, the video also recalled the scorn and accusations of racism aimed at Spain's former prime minister Mariano Rajoy, also of the PP, after he wrote in a newspaper column during the World Cup that the French national team "does not have any French players". Rajoy's words provoked a furious response in France and from Sánchez, who shot back that Spain belonged to "those who love it and work for it. Not to those who shame it with xenophobic statements."

Martínez Corcuera described Rajoy's remarks as part of a long tradition of questioning the national identity of minority ethnic citizens, particularly when they are in the public eye. This week's AI video managed to tap into all of it, he noted. "As you can see, there are many intersecting issues playing out here," he said.

The blunt version: the video worked by recycling an old argument about ethnic belonging, now at AI speed.

Did the PP even get the shirt right?

In Spanish media, many were quick to point out that the party had done a sloppy job, flagging various errors in its replication of the Moroccan kit. Martínez Corcuera had one more to add — one that inadvertently highlighted the interconnectedness between Spain and Morocco.

"They had the bad luck of using number 10, which in Morocco is worn by [the Málaga-born Real Madrid player] Brahim Díaz, who is Spanish," he said.

The botched detail matters because it undercuts the video's own logic: the shirt the PP used to signal "the other" belongs to a player born in Spain.

How much AI has the PP used this campaign?

The altered video is not an isolated case. Critics described it as the latest in a list of problematic uses of AI by the PP during the campaign, after the party notably stoked outrage with a deepfake video of Sánchez's wife, Begoña Gómez.

The leftwing news site Publico suggested the PP was relying on AI rather than ideas to do the heavy lifting. "That's how the PP operates: when they run out of arguments, they hit 'generate'," the site wrote in a piece that captured some of the criticism the party faced over the football shirt video. "They must have thought [Sánchez's] message lacked a touch of xenophobia and wanted to remedy that."

The broader context is a tug of war over the campaign agenda. Sánchez and his allies on the left have sought to keep the spotlight on housing, pensions and women's rights, while the PP and Vox have worked to centre the conversation on immigration.

The pattern to watch: an AI tool, an unlabelled output, and an immigration frame — repeated, not accidental.

What happens now?

Sunday's vote will decide whether Sánchez's government survives. Most polls point to a PP-led coalition backed by Vox, which would put Feijóo's hard line on Morocco and migration at the centre of Spanish foreign policy. The AI video row, meanwhile, points to a gap between the EU's labelling obligations for AI and what parties actually do with the technology in the final stretch of a campaign. If the pattern holds, the question after Sunday won't be whether AI shows up in the next Spanish election — it will be whether anyone bothers to label it.

Source: theguardian.com

Share this article:

More from Sophie Lindqvist

Sophie Lindqvist

Show full bio

Staff writer covering regulation, policy and their impact on artificial intelligence and machine learning at AI In Context.

953 articles

Related articles

  1. AI deepfake ad draws legal challenge in Spain’s election
  2. One Nation Screens AI-Generated Video Full of Racist Tropes at Campaign Launch
  3. Campaigns Have Spent $16 Million on AI Ads Ahead of the 2026 Midterms
  4. Rankin says AI will replace photography jobs within a year
  5. AI Could 'Supercharge' Election Disinformation in South-East Asia

« Previous article