Afghan embassies around the world that have refused to recognise the new Taliban regime are struggling to stay afloat and facing increasing pressure from Kabul to accept loyalist replacements.
None of the country's 60 or so ambassadors, consuls or heads of diplomatic missions who were appointed by Western-backed former president Ashraf Ghani have agreed to serve the group since it seized power in August last year.
The Taliban government has yet to be formally recognised by any nation, and the international community is grappling with how to deal with the country's new rulers while also helping Afghans face an economic and humanitarian crisis.
"We are in a very unfortunate … situation, but we still have to continue to operate in these difficult circumstances," said Youssof Ghafoorzai, the ambassador to Norway.
"The embassies still have a very important role to play in terms of trying to increase whatever humanitarian support is possible. But also (to help) discussions on the political track… to stabilise the situation."
Read more: Nearly 400 civilians killed in Afghanistan since Taliban takeover, UN says
Aid and cash reserves, frozen by the United States and the international community after the Taliban seized control, are trickling back into the country, which has long depended almost entirely on donors.
But Ghafoorzai and his colleagues have had no contact with the new regime, and staff have not been paid for months.
The Afghan embassy and its consulates in the United States are being shut in the coming week.
"The Afghan Embassy and consulates are under severe financial pressure. Their bank accounts are not available to them," a US State Department official told AFP.
The embassy and Washington have made arrangements for an "orderly shutdown of operations in a way that would protect and preserve all diplomatic mission property in the United States until operations are able to resume," the official said.
Across the world, Afghan ambassadors have been forced to dramatically scale down their activities, reduce energy bills and food costs, and even move into smaller premises.
They have also increased consular fees to generate revenue.
"The embassy is not receiving any funding or financial assistance from Kabul," Farid Mamundzay, the ambassador in New Delhi, told AFP.
"In the absence of the required financial support and depletion of resources, we have not been able to pay the staff salaries for months and had to downsize the strength and reduce the expenditure of the mission to the lowest."
It is not clear how long visas, certificates and other documents issued by the holdout embassies will be recognised — either by the Taliban or the international community.
New passports issued in Kabul now refer to the country by the Taliban's name, the Islamic Emirate of Afghanistan, while officials have warned foreign journalists arriving with visas issued independently by the Dubai embassy that they may not be honoured in future.
In a handful of countries near Afghanistan, some ambassadors have left their posts or been pushed out by the Taliban, who have inserted their own representatives — but even the replacements face hardship.
In Pakistan, salaries have not been paid since September. Employees live on income from visa and passport renewal fees and marriage certificates, said a source at the consulate in Peshawar, near the Afghan border.
The new consul general appointed by the Taliban receives just 50,000 rupees ($280) a month compared with the nearly $5,000 his predecessor made, the source added.
The Taliban made Pakistan the first country to which they sent a new representative.
In Beijing, the ambassador resigned when a senior diplomat loyal to the Taliban was appointed to the embassy, which he is now unofficially leading.
The Taliban have also managed to impose their men in Uzbekistan and Iran.
Russia, meanwhile, said it was ready to accept "two or three" new diplomats, but that they would not take the place of the current ambassador.
'Threats and intimidation'
The Taliban did not respond to AFP's requests for comment, but they have previously claimed to largely have control over Afghan embassies.
However, they have failed to have one of their top spokesmen, Suhail Shaheen, accredited as ambassador to the United Nations, with the General Assembly indefinitely postponing a vote on the matter.
In Rome, Italian police had to intervene after a scuffle between the Afghan ambassador and a recently dismissed pro-Taliban diplomat who claimed he had been given the top job.
"There have been threats, intimidation and violence in some of our missions by disgruntled ex-employees that are ideologically pro-Taliban," said Khaled Zekriya, the ambassador in Rome.
"The Taliban administration tried to persuade our embassy to work on their behalf, but I said no.
"My answer will stay the same until an inclusive representative government will be established in Afghanistan, where the Taliban will be a part, not the only part, of this government."
The Taliban have also sent delegations from Kabul to Oslo and Geneva, bypassing local embassies, for talks with Western powers.
Afghan diplomatic missions — in particular those in the West — united to openly criticise the Taliban for their failure to respect human rights ahead of the Oslo visit in January.
"It's a difficult situation," said Ghafoorzai, the ambassador to Norway.
"But we also know that we continue to represent a people that have suffered enormous difficulties throughout their history."