Spain's opposition leader Alberto Núñez Feijóo has pledged to investigate the late-July crossings into Ceuta and the presence of Moroccan navy vessels off the city if he wins the 29 November election, according to Europa Press.
The Popular Party (PP) leader, who is running for prime minister, spoke in Brussels on Thursday after a summit of the European People's Party (EPP) held ahead of the European Council.
The investigation would cover every question raised by the crisis, he said, including the presence of Moroccan frigates and patrol boats in what he called Spanish waters. Its findings would then go to the European Commission.
Everything will come out in the end, Feijóo said, adding that Spaniards have the right to know what happened.
He accused Prime Minister Pedro Sánchez of trying to hide what had happened in Ceuta, and said Sánchez had done it again that same day as he arrived at the European Council.
If elected, Feijóo said, he would use all the tools of the EU's emergency response framework to remove those who remain in Spain irregularly. In his view, Europe's security is at stake, not only Spain's.
At a press conference at the EPP's headquarters, he said European leaders were very surprised, and called for Frontex and Europol to be permanently deployed in Ceuta and Melilla.
Commission President Ursula von der Leyen, he said, had committed to having the EU's emergency regulation approved before the end of the year, according to El Español.
A day earlier, Feijóo had demanded that Sánchez explain the ships before Parliament's Standing Committee. The matter, he said, is already before the National Court, where the PP is a party to the proceedings, according to El Debate.
Sánchez, arriving at the same summit, played down the episode. Asked about the Moroccan warships, he called it a one-off event and said he had been fully transparent since the start of the crisis.
There was smooth communication between the two navies, he said, and the episode has not happened again.
Asked about King Felipe VI and Queen Letizia's visit to Ceuta and whether he feared a reaction from Morocco, Sánchez said Spain has always sought a constructive, good-neighbourly relationship with the kingdom, according to EFE.
He described the royal visit to Ceuta and Melilla, the first to both cities of Felipe VI's reign, as another step towards normality after the crisis.
More than 12,000 people have returned voluntarily to Morocco since the end of July, over 2,500 of them in October alone, Sánchez said.
The ships issue surfaced earlier this week, when El País reported, citing unnamed sources, that at least one Moroccan frigate and several patrol boats had sailed in waters off Ceuta that Spain considers its own.
Sánchez confirmed the episode on 12 October, describing such incidents as isolated ones that happen between neighbouring countries, and saying cooperation between the two navies remained smooth, according to Reuters.
More than 72,000 migrants crossed from Morocco into Ceuta at the end of July. Most returned in the following weeks, but thousands stayed.
Rabat set out its own position last week. Opening Parliament in Rabat on 9 October, King Mohammed VI said the current model of migration cooperation had become outdated, including with neighbouring Spain.
He said the partnership with Madrid now faces challenges from outdated legal provisions and unrealistic court rulings, which hinder the repatriation of minors and false asylum seekers while feeding the greed of criminal networks.
In view of irresponsible statements and the blatant exploitation of the issue by some political and media circles, the King stressed that the partnership is a sovereign choice and a voluntary commitment.
"It will never be subject to any pressure, threat, or blackmail," he added.
It is worth noting that Morocco does not recognise Spain's sovereignty over Ceuta and Melilla, which it regards as Moroccan cities.
EU leaders continue their summit in Brussels on Friday, with migration on the agenda.