Spain has introduced temporary border checks on travelers from Italy after Rome imposed similar controls on arrivals from Spain, turning a migration dispute into a test of how far European governments can go with internal border restrictions.

The escalation began after the rush of migrants to the Spanish territory of Ceuta pushed the two governments into open disagreement. According to the AP report, the Spanish government said the checks on Italian travelers would remain in place for at least a month. Italians arriving at Barcelona airport were subject to random police checks after the measures took effect overnight.

The move came after Italy had already begun enforcing air and sea border controls on Spanish citizens on Aug. 1. Rome tied that step to criticism of Spain's migration policy from Prime Minister Giorgia Meloni, and Italy's office later said it had no intention of lifting the restrictions until at least Aug. 15. Spain had warned on Friday that it would take proportionate measures if Rome did not lift its own restrictions by an Aug. 9 deadline.

The dispute matters because it touches one of the core principles of the European Union's Schengen area, which allows citizens of most member states to travel freely across internal borders. The bloc does allow states to temporarily reintroduce controls in exceptional cases involving security threats, but those checks are supposed to be time-limited and used as a last resort.

The trigger was the sudden arrival of 72,000 migrants from Morocco at Ceuta late last month. Most have since gone back, but the episode left a heavy human toll. Spanish and Moroccan authorities said more than 80 migrants died, including some who drowned or were trampled in a stampede while trying to cross a breakwater barrier.

The Ceuta crisis also reopened a wider European debate over how governments should respond to irregular migration. The AP report said hawkish EU leaders criticized Spanish Prime Minister Pedro Sánchez, pointing to a Spanish amnesty for undocumented migrants who could prove residency before Jan. 1 and had lived in the country for at least five months. More than 1 million people applied before that window closed at the end of last month.

For now, the immediate story is not only about migration but also about the political symbolism of border controls inside Europe. Spain and Italy have each framed the dispute as a defense of national dignity and security, but the measures also show how quickly one migration flashpoint can spill into a broader confrontation over who controls the internal frontiers of the EU.

The controls are temporary, but the political damage may last longer. By responding in kind, Spain signaled that it was willing to meet Italy's move with reciprocal pressure rather than quiet diplomacy. Italy, for its part, has defended the right of states to protect their borders. That leaves Schengen's open-border promise under strain from the very governments that are supposed to uphold it.