All FootballAll Football Get the app
Home › All Football Stories › The Guardian: Spain's opposition party criticised for AI video altering PM's shirt to Morocco kit

The Guardian: Spain's opposition party criticised for AI video altering PM's shirt to Morocco kit

26 Nov 2026, 14:56 UTC

According to The Guardian, ahead of Spain's general election, the opposition People's Party (PP) has used AI technology to alter a video of Prime Minister Pedro Sánchez wearing Lamine Yamal's Spain national team shirt, sparking the latest round of controversy in the election campaign.

In a 17-second campaign video, Spanish Prime Minister Pedro Sánchez speaks to the camera and puts on the national team shirt. "Because this is Spain: a diverse and inclusive country," he says as he turns around, revealing the number 19 on the back — the shirt number of star player Lamine Yamal.

Comparison of Sánchez wearing the Morocco and Spain shirts

A day later, the opposition People's Party came under fierce criticism for using AI to alter the same video, falsely making it appear as though Sánchez was wearing the Morocco national team shirt.

People's Party members speaking at a campaign rally

The controversy comes as voters across Spain prepare to go to the polls on November 29, following a campaign marked by deep polarisation. Most polls suggest Sánchez's Socialist-led government is expected to be replaced by a coalition led by the conservative People's Party and backed by the far-right, anti-immigration party Vox.

As the altered video made headlines across Spain, many were quick to point out that it was not labelled as AI-generated, suggesting it may have breached European Union rules on AI. Others noted it was the latest example of the PP's controversial use of AI during the campaign, after the party previously sparked outrage by releasing a deepfake video of Sánchez's wife, Begoña Gómez.

One left-wing news website argued that the PP is relying on AI rather than ideas in its campaign. "This is how the PP operates: when they run out of words, they click 'generate'," Público wrote in an article compiling criticism of the party over the shirt video. "They must have felt (Sánchez's) message lacked a touch of xenophobia, so they wanted to make up for it."

The incident reflects the tug-of-war between parties during the campaign: Sánchez and his left-wing allies have sought to keep the focus on issues such as housing, pensions and women's rights, while the PP and Vox have tried to steer the debate towards immigration.

Sánchez's video appeared to be a direct response to comments made earlier this week by PP candidate Xavier García Albiol, who in 2013 became the first mayor to stand trial for racist remarks and has repeatedly been accused of using racist language. He had said he did not like Yamal — whose talent helped Spain win the 2026 World Cup and Euro 2024 — claiming the teenager lacked maturity.

Albiol said he would not wear Yamal's shirt. "I would feel more comfortable wearing the shirt of any other Barcelona player in the national team," he told Barcelona-based newspaper Sport.

As people across the country rallied to defend Yamal — who was born in Spain to a Moroccan father and an Equatorial Guinean mother — Sánchez joined in, promoting Spain as a "diverse and inclusive" country and declaring he would be willing to wear the shirt of any player in the national team.

Raúl Martínez Corcuera, a media studies lecturer at the University of Vic who also works with the anti-racism organisation SOS Racismo, said the PP's AI manipulation may be an attempt to steer the campaign towards issues it believes will win votes, such as the large number of arrivals in Ceuta, Spain's North African territory.

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

Throughout the campaign, the PP has sought to portray Sánchez as a puppet of Morocco, a message reinforced by the text in the AI-generated video. The PP's video also altered Sánchez's speech to make it sound as though he was advocating wearing the Morocco shirt.

PP leader Alberto Núñez Feijóo has said that if he becomes prime minister, his first foreign trip will be to Morocco, where he will demand that Morocco respect Spain's territorial integrity or face trouble — a stance that could clash with Spain and the EU's heavy reliance on the kingdom to control irregular migration.

However, Martínez Corcuera said the result of the AI-generated video amounted to a "veiled racism" on the part of the PP. "Morocco is used as a symbol of the 'other'," he said, while "Sánchez and Yamal are singled out and treated as 'players' playing for Spain, rather than Spaniards."

This taps into a long-standing current of racism that Yamal has faced, from anti-Muslim boos during a friendly against Egypt in Barcelona to a surge in racist and Islamophobic abuse directed at the player online during the World Cup.

In Martínez Corcuera's view, the AI video also recalled the widespread scorn and accusations of racism faced by former Spanish prime minister Mariano Rajoy, also of the PP, who wrote in a newspaper column during the World Cup that the France national team had "no French players".

Rajoy's remarks sparked an angry response in France, while Sánchez hit back by saying Spain belongs to "those who love it and fight for it, not those who bring shame on it with xenophobic remarks".

Martínez Corcuera described the former PP leader's comments as part of a long tradition of questioning the national identity of minority citizens, especially when they are in the public eye. He noted that this week's AI video managed to tap into all of these elements. "As you can see, there are many issues intertwined here," he said.

In the Spanish media, many were quick to point out that the PP's production of the video was clumsy, highlighting various errors made in replicating the Morocco kit.

Martínez Corcuera added another point that unwittingly highlighted the close ties between Spain and Morocco. "They were unlucky enough to use the number 10 shirt, and for Morocco, the number 10 is worn by (Málaga-born Real Madrid player) Brahim Díaz, who is Spanish."

All Football app
Join the conversation on All FootballReply to fans, follow your club and get instant goal alerts in the app
  • Live scores and instant goal alerts for 1,000+ competitions
  • Breaking news, transfers and match previews
  • Highlights, line-ups, player ratings and full stats
  • Free on iPhone and Android · rated 4.4 on the App Store
All Football app
All FootballReply to fans, follow your club and get instant goal alerts in the app
  • Live scores and instant goal alerts for 1,000+ competitions
  • Breaking news, transfers and match previews
  • Highlights, line-ups, player ratings and full stats
  • Free on iPhone and Android · rated 4.4 on the App Store
All FootballLive scores, news & highlights
Free download×