BERLIN: Details of German Chancellor Angela Merkel’s plan to solve her government’s migration crisis — and avoid a possible breakup of her coalition — were revealed Saturday in a letter to the leaders of her two coalition partners.

The letter said Merkel had secured agreements with 14 countries for the rapid return of asylum-seekers trying to enter Germany who first registered in those countries.

The countries listed in the letter were Poland, the Czech Republic, Hungary, Belgium, France, Denmark, Estonia, Finland, Lithuania, Latvia, Luxembourg, the Netherlands, Portugal and Sweden.

The prime ministers of the Czech Republic and Hungary — two of the fiercest critics of Merkel’s decision to admit migrants — vehemently denied they that agreed to any such measures.

Czech Prime Minister Andrej Babis said: “Germany did not approach us, and in this moment I would not ratify such an agreement. … We are not planning negotiations. There is no reason to negotiate. We decisively reject this.”

A German government spokesman later said Merkel “regretfully” accepted Prague’s decision, insisting however that “the Czech side had expressed willingness to make a deal for better cooperation in the return [of migrants]” at a European Union summit in Brussels.

Germany already announced a similar agreement with Greece and Spain last week.

According to the plan, larger collection centers in Germany would be used to house migrants while their asylum requests are considered. Unsuccessful applicants would be deported from there.

Also laid out in the letter is a plan to send German police by the end of August to help strengthen the EU’s external border in Bulgaria to reduce the number of migrants entering the passport-free Schengen zone.

In 2017, the letter said, tens of thousands of asylum-seekers had a corresponding entry in the EU’s visa information system.

With stricter allocation procedures, “we could substantially reduce visa abuse and with it the number of asylum-seekers in Germany,” it said.

Spain accepts migrants

Meanwhile Saturday, the latest aid vessel packed with migrants has been granted permission to dock by Spain.

Spanish officials said Barcelona will be the docking port for the aid boat, which rescued 60 migrants in waters near Libya but was not allowed to land by Italy and Malta.

A spokesman with the prime minister’s office said the Open Arms boat, run under Spanish flag by the Barcelona-based aid group Proactiva Open Arms, had the right to dock in the eastern city.

The spokesman, who wasn’t authorized to be named in media reports, said it would take four days for the boat to reach Barcelona.

The new Socialist government of Spanish Prime Minister Pedro Sanchez is pressing other European Union nations to treat rescued migrants with dignity and in line with international law.

Spain has overtaken Italy so far this year with the number of migrants who have arrived on land and by sea.

Barcelona Mayor Ada Colau had earlier called on Sanchez to grant the city docking rights, tweeting that the prime minister should “save lives” because Barcelona “doesn’t want to be an accomplice to the policies of death of Matteo Salvini,” referring to Italy’s hard-line interior minister.

Salvini, head of an anti-migrant party, has vowed that no more rescue boats will dock in Italy.

Spanish officials are still searching for another missing boat.

DPA and the Associated Press contributed to this report.