US President Barack Obama disembarks from Air Force One upon arrival at Hangzhou Xioshan International Airport in Hangzhou on September 3, 2016.
World leaders are gathering in Hangzhou for the 11th G20 Leaders Summit from September 4 to 5. / AFP / SAUL LOEB        (Photo credit should read SAUL LOEB/AFP/Getty Images)
SAUL LOEB/AFP/AFP/Getty Images
US President Barack Obama disembarks from Air Force One upon arrival at Hangzhou Xioshan International Airport in Hangzhou on September 3, 2016. World leaders are gathering in Hangzhou for the 11th G20 Leaders Summit from September 4 to 5. / AFP / SAUL LOEB (Photo credit should read SAUL LOEB/AFP/Getty Images)
Now playing
01:20
G20 sees tension between China and the US press
LONDON, ENGLAND - SEPTEMBER 08:  A military honour guard raises the flag of China during a table tennis medal ceremony on day 10 of the London 2012 Paralympic Games at ExCel on September 8, 2012 in London, England.  (Photo by Matthew Lloyd/Getty Images)
Matthew Lloyd/Getty Images Europe/Getty Images
LONDON, ENGLAND - SEPTEMBER 08: A military honour guard raises the flag of China during a table tennis medal ceremony on day 10 of the London 2012 Paralympic Games at ExCel on September 8, 2012 in London, England. (Photo by Matthew Lloyd/Getty Images)
Now playing
02:20
How big is China's military?
china airshow j 20 stealth fighter jnd orig _00003118.jpg
CCTV
china airshow j 20 stealth fighter jnd orig _00003118.jpg
Now playing
00:48
China shows off new J-20 stealth fighter (2016)
china military plane Y-20 orig_00003507.jpg
china military plane Y-20 orig_00003507.jpg
Now playing
00:45
China unveils huge military plane
Now playing
01:47
US destroyer sails near China-claimed island
Drew Angerer/JOHANNES EISELE/AFP/Getty Images
Now playing
01:26
Trump and China: What's at stake?
china military strength sciutto dnt tsr _00003509.jpg
china military strength sciutto dnt tsr _00003509.jpg
Now playing
02:05
China's new 'carrier killer' missile
trump trade war.jpg
Getty Images
trump trade war.jpg
Now playing
02:21
Donald Trump's trade war
President-elect Donald Trump looks toward reporters as he arrives for a party at the home of Robert Mercer, one of his biggest campaign donors, Saturday, December 3, 2016, in Head of the Harbor, New York.
Evan Vucci/AP
President-elect Donald Trump looks toward reporters as he arrives for a party at the home of Robert Mercer, one of his biggest campaign donors, Saturday, December 3, 2016, in Head of the Harbor, New York.
Now playing
01:40
Donald Trump faces backlash from China
china trump call steven jiang intv_00025723.jpg
china trump call steven jiang intv_00025723.jpg
Now playing
03:30
Trump risks antagonizing China by Taiwan call

Story highlights

The Defense Intelligence Agency deleted and apologized for a tweet critical of China

The tweet linked to a report about disputes over press access at the G20 meeting

(CNN) —  

A United States spy agency is apologizing for a tweet that jabbed at China over its treatment of American reporters who had traveled with President Barack Obama to cover the G20 meeting there.

“Classy as always China,” the Defense Intelligence Agency tweeted Saturday from its @DefenseIntel account.

Twitter

The Pentagon-housed spy agency on Sunday apologized, tweeting: “Earlier today, a tweet regarding a news article was mistakenly posted from this account & does not represent the views of DIA. We apologize.”

The initial tweet, which has since been deleted, included a link to a New York Times report about a dust-up over security protocols at the tarmac when Obama landed in China – and later, shouting matches between Chinese officials and Secret Service agents at the West Lake State House, where Obama met Chinese President Xi Jinping.

The tiffs were largely over American journalists’ access to Obama. Chinese officials unexpectedly limited reporters’ access to the President.

The first incident occurred when a Chinese official demanded that a group of reporters traveling with Obama be ushered away from Air Force One, according to pool reports. When a White House official responded that it was the United States’ president and plane and that the press wasn’t moving, the man shouted back: “This is our country.”

Later, at the West Lake State House, White House aides, protocol officers and Secret Service agents spent 15 minutes arguing with Chinese officials over which, and how many, Americans would be allowed in – an exchange that left one security official looking ready to throw a punch.

“Calm down please. Calm down,” a White House official said.

A foreign ministry official said in Chinese: “Stop, please. There are reporters here.”

It was the first of two disputes between American and Chinese officials there. The second, minutes later, was over how many American journalists would be allowed in the room when Obama, Jinping and United Nations Secretary General Ban Ki-moon met. The Chinese insisted on limits that left two US reporters unable to enter the room, despite one White House press officer pleading: “There’s space. They are print reporters. They would just be just standing.”

Asked about the airport kerfuffle after a Sunday morning meeting with British Prime Minister Theresa May, Obama acknowledged to reporters that “the seams are showing a little more than usual in terms of some of the negotiations and jostling that takes place behind the scenes.”

“I wouldn’t over-crank the significance of it, because, as I said, this is not the first time that these things happened,” Obama said. “And it doesn’t just happen here. It happens in a lot of places, including, by the way, sometimes, our allies. Part of it is we also have a much bigger footprint than a lot of other countries. And we’ve got a lot of planes and a lot of helicopters and a lot of cars and a lot of guys, and if you’re a host country, sometimes it may feel a little bit much.”

Oliver Janney contributed to this report.