France threatened on Friday to pull out early from the NATO-led war in Afghanistan after a rogue Afghan soldier opened fire on French soldiers, killing four and wounding about 15 others.
The killings in the Taghab valley of Afghanistan's eastern Kapisa province were the latest in a series of incidents in which Afghan troops have turned on Western allies.
French President Nicolas Sarkozy said all French operations on the ground were being suspended and his defence minister was dispatched to Afghanistan to clarify the situation.
If the security conditions are not clearly established then the question of an early return of French forces from Afghanistan will arise, said Sarkozy.
France has almost 4,000 troops in Afghanistan as part of the 130,000-strong NATO-led force there. French troops mainly patrol Kapisa, a mountainous province near Kabul. They are due to leave by around the end of 2013.
NATO said four soldiers were killed. French Foreign Minister Alain Juppe told a news conference about 15 others were wounded, eight of them seriously.
The Taliban did not claim responsibility for the attack, but told Reuters that an Afghan soldier had killed eight French troops. The Islamist group often exaggerates accounts of engagements with foreign forces and casualties.
NATO has been rapidly expanding the Afghan security forces so that they will be able to take over all responsibility for security when Western combat forces leave in 2014.
Previous incidents in which Western troops were killed by Afghan colleagues have been blamed either on Taliban infiltration of the Afghan military, or on stress, indiscipline and divided loyalties within the hastily trained Afghan ranks.
It is incomprehensible and unacceptable that Afghan army soldiers assassinate French troops, Juppe told reporters.
Afghan President Hamid Karzai, who is due in Paris on January 27 to sign a cooperation treaty, expressed his deep sadness and condolences to the families of the victims.
The Taliban has skilfully placed the Taliban inside enemy ranks who have carried out attacks, however it is not clear whether the shooter belonged to the Islamic Emirate, spokesman Zabihullah Mujahid said in an emailed statement, using another name that the Taliban use for themselves.
Insurgent Maulvi Jamilur Rahman, who identified himself to Reuters as Taliban commander of Kapisa, said the Afghan soldier had been in contact with his fighters. Now we are in control of a major portion of the area, Rahman said.
Karim Pakzad, associate researcher at the French Institute for Strategic Relations in Paris, said the move by Sarkozy was playing into the Taliban's hands.
The Taliban are stronger than ever and want to impose their conditions on negotiations, and these attacks are a way to accelerate the departure of NATO troops, he said.
Jimmie Cummings, spokesman for the NATO-led International Security Assistance Force in Kabul, said: There is no indication that these incidents are linked or part of any larger coordinated effort.
More than 2,500 foreign troops have died in Afghanistan since the NATO-led war began in 2001. The latest killings take the French toll to 82.
The way they were killed isn't new, Pakzad said. Since NATO decided to increase the Afghan army to 300,000 soldiers recruitment has been done haphazardly and that has made it much easier for the Taliban to infiltrate the Afghan army.
Dozens of foreign soldiers have been killed in recent years by what NATO dubs the insider threat.
Two French Foreign Legion soldiers and one American were killed in separate green-on-blue shootings last month, so called after the colours of the Afghan army and the symbol of NATO. The coalition no longer releases the number of its troops killed by Afghan soldiers.
In Washington, U.S. Secretary of State Hillary Clinton said she did not expect Paris to diverge from NATO's withdrawal plans agreed at a Lisbon summit in 2010.
We are in close contact with our French colleagues and we have no reason to believe that France will do anything other than continue to be part of the very carefully considered transition process as we look at our exit as previously agreed upon in Lisbon, Clinton told reporters following a meeting with German Foreign Minister Guido Westerwelle.
Westerwelle said it was important for western nations to keep focused on the reason for their presence in Afghanistan.
We want to express our deepest condolences, but we think we have to continue because we protect our own security and our own freedom and way of life, he said.
The White House said the U.S. national security advisor spoke with his French counterpart on Friday to express condolences and highlight the importance of French troops in the NATO-ISAF coalition.
In Paris, Defence Minister Gerard Longuet said he would report back to Sarkozy by Tuesday after his trip to Afghanistan.
Sarkozy may be tempted to announce an early withdrawal for domestic reasons, three months ahead of a presidential election. An opinion poll in May showed more than half of French voters back withdrawal. Sarkozy's Socialist rival Francois Hollande has pledged to pull out by the end of this year if he wins power.
The new position announced by the president goes against all previous statements which had stayed loyal to the coalition line of a progressive withdrawal, Pakzad said. Without a doubt this statement has been taken with internal politics in mind.
(Additional reporting by Amie Ferris-Rotman in Kabul and Jibran Ahmad in Peshawar, Pakistan, and Andrew Quinn in Washington; Writing by Brian Love and John Irish; Editing by Andrew Roche and Stacey Joyce)