Diplomatic efforts are continuing in Afghanistan to try to prevent the expulsion from the country of two senior foreign officials.
The EU and UN have been eradicating poppy crops in Helmand
The men, based in Kabul, are accused of posing a threat to national security.
One is a high-ranking UN employee, Briton Mervyn Patterson, the other is acting head of the EU mission in Afghanistan, Irishman Michael Semple.
The expulsion order follows claims that the men had held talks with the Taleban in Helmand province in the south.
The Afghan government has said the pair must leave by Thursday, and the UN has reportedly booked a flight.
Homayun Hamidzada, spokesman for Afghan President Hamid Karzai, said Afghan colleagues of the men had been arrested and are being investigated.
The BBC's Alastair Leithead in Kabul says both men are highly respected experts on Afghan culture, tribalism and languages, having spent many years living in and travelling to Afghanistan.
The decision to declare the men persona non grata appears to have come from the office of the president, he says.
Mr Karzai went to Pakistan on Wednesday, so it is likely the men will be expelled and negotiations over what the UN calls a misunderstanding may focus on allowing them to be readmitted to the country, our correspondent adds.
The men were in Helmand province in the south of Afghanistan, in the town of Musa Qala, recently reclaimed from the Taleban by British and Afghan troops.
The interior ministry knew they were going, but other layers of the Afghan government objected to the type of people they were meeting, our correspondent says.
A spokesman for the UN in Afghanistan, Aleem Siddique, denied that the diplomats had been talking to Taleban militants.
He said they had been discussing the Afghan situation with all people on the ground to help the country's stability.
But former Afghan Interior Minister Ali Jalili told the BBC the men's actions would not have helped the peace process.
"This is going to be detrimental to the overall strategy. I think... it will be exploited by the Taleban when they see that the Afghans in the international community do not speak with one voice and also it undermines the authority of the Afghan government."
Helmand province is the heart of Afghanistan's drug-producing region, and the EU and UN have been playing a major role in the eradication programme.
Analysts say the poppy industry has been a primary reason for the Taleban's resurgence in the south of the country.
The row comes as a British newspaper, the Daily Telegraph, reports that members of Britain's secret intelligence service, MI6, held meetings during the summer with senior Taleban members in Afghanistan.
If true, this could prove embarrassing for UK Prime Minister Gordon Brown, who just weeks ago told MPs that there would be no negotiations with members of the Taleban.