(TNND) — Thousands of people have poured into a tiny Spanish territory from Morocco in recent days, prompting outrage from other members of the European Union and reopening a divide over its immigration policy.

Around 60,000 migrants have entered Ceuta, a small Spanish territory on the coast of North Africa, from Morocco over the past 24 hours, according to local authorities. Thirty-four migrants have died attempting the crossing.

Video footage from the border shows a chaotic scene with large crowds of people swimming around breakwaters and climbing over fences to get into Ceuta. Spain’s government said it was deploying the army and Civil Guard officers to help get the situation under control.

Ceuta and neighboring Melilla are the European Union’s only land territories on the African continent, making them longstanding focal points for migrants seeking entry into Europe and for debates over the bloc’s external border security.

Spanish Prime Minister Pedro Sánchez has blamed human-trafficking groups of taking advantage of a recent Supreme Court ruling that made it harder for migrants who reach Ceuta or Melilla, another Spanish enclave in North Africa, by sea to be returned to Morocco.

Spain’s government said Friday it had already reached a tentative agreement to facilitate the return of people who entered Ceuta illegally “as soon as possible,” but it’s unclear how quickly that process can happen or how the court ruling may impede those efforts.

Immigration has been a hot-button issue in Europe for more than a decade when more than 1 million people entered the continent as they fled wars in the Middle East. Since then, many European governments have shifted toward tougher immigration policies in an effort that accelerated as anti-immigration parties gained influence across the continent.

That shift has left Spain out of step with some of its European neighbors. Many of those leaders have blasted the Spanish government, which has taken a more lenient approach to immigration than other European countries, for allowing the crisis to develop. Earlier this year, Spain gave legal status to around 500,000 immigrants who had lived there for at least five months and didn’t have a criminal record.

Italian Prime Minister Giorgia Meloni said Italy is considering the suspension of the Schengen Agreement, a longstanding EU policy that allows free movement of people in Europe, over the crisis in Ceuta. While countries can temporarily restore internal border checks during emergencies, suspending Schengen participation would mark a dramatic escalation in Europe’s response to migration.

“The images coming from Ceuta are striking and demonstrate, once again, that uncontrolled illegal immigration poses a concrete threat to the security of Europe’s borders,” she wrote in a post on X. “On illegal immigration, we will not yield an inch: defending the borders, stopping human traffickers, and ensuring effective repatriations will continue to be the line of this Government.”

France has also ordered increased security controls at its border with Spain over concerns the immigrants who forced their way into Ceuta could try to make their way into Europe. Finland and Denmark leaders backed Meloni’s call.

“All European countries must support Meloni’s proposal. Countries that do not fulfill their obligation to protect the external border cannot be members of Schengen,” Finnish Interior Minister Mari Rantanen said.

It has also drawn criticisms from the Trump administration, which has criticized Europe for what it sees as lax immigration policies.

“This unacceptable incident is the direct result of the Spanish Government’s deliberate efforts to enable and facilitate mass illegal migration into Europe,” the State Department said in a statement. “We are considering actions to defend Americans at home and abroad from this threat and stand ready to assist other European allies considering similar options.”

The situation in Ceuta comes a month after an overhaul of immigration and asylum policies took effect across the European Union after a decade of intense negotiations over how to respond to the 2015 crisis. The new Migration and Asylum Pact was intended to prevent a repeat of the refugee crisis by strengthening border screening, speeding asylum decisions and deportations, and requiring countries to share the responsibility when one member state experiences a surge in migration.

Spanish authorities said thousands of people have already returned to Morocco, but the situation is still shaping up to be the first major test of the pact and Europe’s tougher stance on immigration. Proponents of the legislation have argued quickly returning migrants who don’t qualify for asylum will help deter future crossings, while critics have said the new rules will come at the expanse of humanitarian protections.

However, full implantation of the pact has been delayed because no member states had fully completed the legal and administrative changes to totally enforce the new rules.

One of the key changes to the policy was speeding up voluntary and forced returns of asylum seekers who are rejected at entry points. Various European leaders have called for quick returns of the migrants who entered Ceuta along with tighter security at border checkpoints.

“We cannot allow anyone to come to our Union without abiding by our rules,” EU Commission President Ursula von der Leyen said in a statement. “Dangerous crossings must stop immediately. Smuggling networks must be dismantled. And returns must be swift, as our rules allow.”