Italy and Spain have agreed to extend reciprocal border checks for an additional 15 days in response to a migrant influx that sparked tensions last month in the Spanish North African enclave of Ceuta. The move formally continues restrictions initially introduced by Italy on August 1 and by Spain on August 8, despite both countries being members of the Schengen Area, which typically allows passport-free travel.

The Italian interior ministry stated the extension was necessary because the factors that led to the initial introduction of border controls remain “relevant.” Italy also expressed optimism that ongoing efforts by Spain, in coordination with the European Union, could help return the situation in the region to normal soon.

Spain’s interior ministry mirrored Italy’s announcement, extending the passport checks on travelers arriving from Italy for another 15 days beyond the original one-month period. These measures mean that passengers on flights between the two countries are subject to passport control, a departure from standard Schengen procedures.

The tensions arose following a surge of migrants attempting to enter Ceuta from neighboring Morocco. Spanish Prime Minister Pedro Sanchez noted on Monday that investigations into the cause of the influx are still underway. However, he dismissed suggestions that Moroccan authorities were responsible for the migrant rush.

While most of the migrants were returned to Morocco within hours of arriving, several thousand remain in Ceuta. The extended border checks represent ongoing efforts by Italy and Spain to manage irregular migration flows amid broader concerns over border security in European Union member states.