Photos of US special forces wearing the insignia of the Kurdish YPG militia while fighting ISIS in northern Syria have put the US in hot water with Turkey. The Pentagon denies American troops are engaged in combat, and has told them to lose the patches.

“Wearing those YPG patches was unauthorized and inappropriate, and corrective action has been taken,” spokesman for Operation Inherent Resolve in Baghdad, Colonel Steve Warren, told the Pentagon press corps on Friday. “We have communicated as much to our military partners and military allies in the region.”

Photos of US soldiers wearing Kurdish People’s Protection Units (YPG) insignia were taken on Wednesday by AFP journalist Delil Souleiman in the northern Syrian village of Fatisah. The area is roughly 30 miles (48 km) north of Raqqa, the “capital” of the self-proclaimed Islamic State (IS, formerly ISIS/ISIL).

Though it's customary for US SOF to wear local badges, "it’s also important to understand the larger context:" @oirspox. #Turkey#Kurds

“It is not acceptable for US soldiers to wear YPG terrorist arm badges. This is double standards, two-faced,” Turkish Foreign Minister Mevlut Cavusoglu said Thursday, in response to the photographs.

US Special Forces have a “long and proud history” of wearing such patches of their allies around the world, from Afghanistan to Latin America, in order to “connect with those they are training,” Warren explained, echoing Thursday’s comments by Pentagon spokesman Peter Cook. However, he explained that the practice has not been formally authorized by the military.

“There’s political sensitivities around the organization that patch represents,” Warren explained, adding that Turkey is an important NATO ally and that the Special Forces operatives needed to “understand the larger strategic context.”

“The patches were in fact not authorized. We’ve made the correction. Everybody’s moving on,” Warren said. He did not specify what manner of “corrective action” was involved.

There are about 300 US special operatives in Syria, according to the Pentagon. Most of them are embedded with the so-called “Syrian Democratic Forces” (SDF) in the north, a group encompassing the YPG and a coalition of Arab tribal militias. Warren had previously stated that the US operatives were focused on providing advice and assistance “particularly to the Syrian Arab component of the forces.”

“We understand Turkey’s concerns, and we continue to discuss this and other concerns Turkey has regarding Daesh and issues in northern Syria,” State Department spokesman Mark Toner told reporters Friday, using another name for IS.

While there may be disagreements among the US-led coalition as to how to proceed and who to cooperate with on the ground, the goal is “destroy and degrade Daesh and remove them from the battlefield,” Toner added.

“We’re working with Syrian Arabs, Syrian Turkmen, and other groups that are fighting Daesh,” Toner said, adding the US regards the YPG “as an effective partner” and will continue to work with them as part of the SDF.

When reporters asked why none of the US soldiers was photographed wearing an Arab patch, Warren tried to dodge the question.

“The internet is full of pictures, the majority of them either fake or wrong,” he said. “There’s been one situation where we have confirmed they were legitimate pictures of American service members in Syria. Only one. And that was yesterday. It was difficult to tell who they were with, exactly.”

To his knowledge, US special operatives were not in combat anywhere in Syria. He rejected as “completely inaccurate” the reports of operatives in Fatisah firing TOW missiles at IS positions, based on claims of Kurdish fighters.

“They’re deep behind enemy lines, aren’t they?” he added as a caveat. “We may not have perfect fidelity what happens every hour of every day out there, in the wilds of Syria.”

While the US Special Forces are required to stay in areas “where enemy contact is unlikely,” Warren pointed out that CPO Charles Keating IV, the Navy SEAL killed in northern Iraq in early May, was three miles behind the lines when his convoy was attacked by IS.