Two senior diplomats from the UK and Ireland who were accused of having talks with Taliban militants have flown out of Afghanistan.The country's government ordered Irishman Michael Semple, deputy head of the EU mission in Kabul, and Mervyn Patterson, a senior UN official understood to be a British citizen from Northern Ireland, to leave after accusing them of being "detrimental to the national security of the country".According to reports, the pair left Kabul earlier after two days of talks failed to prevent the expulsion.The Foreign Office said it would not comment on the situation because it was a matter for the United Nations and the EU.The men visited the volatile southern province of Helmand on Monday. The UN said they talked to people on the ground there but strongly denied that this included Taliban militants.But Afghan president Hamid Karzai's spokesman, Humayun Hamidzada, claimed the two were involved in activities "that were not their jobs".Aleem Siddique, a spokesman for the UN mission in Afghanistan, described the situation as a "misunderstanding" but said both men had agreed to leave the country."We see no basis for such a decision but we respect the sovereignty of the government of Afghanistan and have every intention to abide by that decision," he said."We are hopeful to get their return as soon as possible."Mr Siddique added: "There is a miscommunication between the authorities in Helmand province and the central government, and that's what we're trying to clear up."We don't talk to Taliban, full stop."Both men have worked in Afghanistan for many years, speak local languages fluently and understand the country's complex tribal structures.The diplomatic row follows claims the British secret service has itself held secret peace talks with senior Taliban insurgents.© Independent Television News Limited 2007. All rights reserved.