Sweden and Finland took a step closer to joining the NATO military alliance after Turkey's decision to drop its objections, but there may still be snags to overcome as some critics say the deal hands a foreign policy veto to Ankara.
The three countries reached a breakthrough agreement after more than four hours of talks on the sidelines of the NATO summit in Madrid on Tuesday.
While Sweden and Finland will be given "invitee" status at the Madrid summit, their applications need to be approved by all NATO's 30 current members, a process that could yet stall.
"Sweden can have problems again with Turkey," Swedish daily SvD wrote. "Because if Turkey isn't happy that Sweden is living up to its part of the agreement, the Turkish parliament can stop Sweden again," the paper said.
Speaking on Swedish radio, Swedish Foreign Minister Ann Linde said those fears were overblown.
"I think we have worked through this so much that we don't need to be very worried that there will be further problems," she said. "But it would be unwise of me to say that nothing at all will come up."
As part of the deal, Sweden and Finland agreed not to support Kurdish militant groups.
Turkish President Tayyip Erdogan had threatened to block their bids over Ankara's accusations they supported the YPG in northern Syria, which it views as an extension of the outlawed Kurdistan Workers Party (PKK) which is also deemed a terrorist group by the United States and European Union.
Amineh Kakabaveh, an independent Swedish lawmaker and former Kurdish fighter on whom the Social Democrat government has repeatedly relied for its survival in close parliament votes, said it was a "black day for Swedish foreign policy".
"It also puts a lot of stress on people who have sought asylum and sanctuary in this country, but now no longer feel safe because Sweden is selling away their basic rights," she said.
She said Linde should appear before the foreign relations committee to explain the deal and threatened to launch a no-confidence motion if she was not satisfied. Such a move would be unlikely to succeed however, as most lawmakers support NATO membership and face an election in September.
'VERY WORRYING'
Sweden and Finland will also ease weapons export rules and work closely with Turkey on extradition requests for suspects wanted by Ankara.
Sweden's opposition Green Party co-leader Marta Stenevi said changes to weapons export rules and extraditions were "very worrying".
But what they mean in practice is unclear.
Sweden has insisted it only provides humanitarian aid to Syria and refugees in the surrounding areas.
Linde said that would "naturally continue", but that Sweden and Finland had agreed not to support militant organizations in northeast Syria in any way that threatened Turkish security, for example with money or weapons.
"But we don't do that today, either," she said. She also said that extradition procedures would be unaffected.
"This is according to Swedish law and the agreement with Turkey doesn't change this," she said.
Still, there was strong criticism of the deal in Sweden.
Worries have centred on Kurdish dissidents who live in Sweden and Finland and that the deal with make it easier for Erdogan to launch a fresh incursion into northern Syria to recapture towns held by the Kurdish-led Syrian Democratic Forces, which are backed by Washington.
"We warned early on about the dangers of putting Swedish foreign policy in the hands of the despot Erdogan," Left Party leader Nooshi Dadgostar said on Twitter.
"Are we going to arm Turkey in his war of attack on Syria? Which dissidents will be extradited?"
(Reporting by Simon Johnson; editing by Niklas Pollard and Alex Richardson)