China’s ambassador says relations with the UK have been “damaged” after Jeremy Hunt threatened “serious consequences” over the crackdown on the protests in Hong Kong.

The foreign secretary had been “totally wrong” to criticise events in the former UK colony, Liu Xiaoming said, adding: “This is not a matter about the freedom, it’s a matter about breaking laws in Hong Kong.”

“The UK government stood on the wrong side on the issue”, Mr Liu told an extraordinary press conference in London. “It’s very disappointing when the senior officials of his calibre show support of these law-breaking people.”

And, defending China’s record, the ambassador said: “We all remember what Hong Kong was 22 years ago under British rule: there was no freedom, democracy, whatever.

“We all know that all governors were appointed by the British government, people had no right to elect its officials, no right to demonstrate certainly, and they did not even have a right to have an independent judicial power.”

Aftermath of protesters storming Hong Kong government HQ: In pictures Show all 15 1 /15 Aftermath of protesters storming Hong Kong government HQ: In pictures Aftermath of protesters storming Hong Kong government HQ: In pictures The lobby of the Legislative Council building in Hong Kong is seen covered in graffiti after it was stormed by protesters Getty Aftermath of protesters storming Hong Kong government HQ: In pictures Police officers stand guard at the Legislative Council building in Hong Kong after it was stormed by protesters EPA Aftermath of protesters storming Hong Kong government HQ: In pictures The colonial flag of Hong Kong hangs in the chamber of the Legislative Council after protesters stormed the building Reuters Aftermath of protesters storming Hong Kong government HQ: In pictures Police officers are seen behind cracked glass panels that were damaged by protesters trying to ram their way into the Legislative Council building EPA Aftermath of protesters storming Hong Kong government HQ: In pictures Shattered glass is seen on the outside wall of the Legislative Council of Hong Kong after protesters smashed their way in the building AP Aftermath of protesters storming Hong Kong government HQ: In pictures Riot police patrol the Legislative Council building in Hong Kong after it was stormed by protesters Getty Aftermath of protesters storming Hong Kong government HQ: In pictures Police officers inspect damage to the Legislative Council building in Hong Kong after it was stormed by protesters AFP/Getty Aftermath of protesters storming Hong Kong government HQ: In pictures A caricature of Hong Kong leader Carrie Lam is pasted on a pillar outside of the Legislative Council after protesters broke into the building Reuters Aftermath of protesters storming Hong Kong government HQ: In pictures Graffiti is seen in the chamber of the Legislative Council in Hong Kong after protesters stormed the building Getty Aftermath of protesters storming Hong Kong government HQ: In pictures Abandoned placards and litter is seen outside the Legislative Council building in Hong Kong after a protest on July 1 EPA Aftermath of protesters storming Hong Kong government HQ: In pictures A painting hung i the Legislative Council in Hong Kong is covered in graffiti after protesters stormed the building Getty Aftermath of protesters storming Hong Kong government HQ: In pictures A lift in the Legislative Council building is seen covered in graffiti and litter after protesters stormed the building Getty Aftermath of protesters storming Hong Kong government HQ: In pictures The chamber of the Legislative Council in Hong Kong after protesters stormed the building Getty Aftermath of protesters storming Hong Kong government HQ: In pictures A desk in the chamber of the Legislative Council in Hong Kong is covered in graffiti after protesters stormed the building AFP/Getty Aftermath of protesters storming Hong Kong government HQ: In pictures An area inside the Legislative Council building complex is strewn with litter and smashed glass after it was stormed by protesters Getty

However, Mr Hunt showed no sign of backing down in an immediate tweeted response, saying: “Message to Chinese govt: good relations between countries are based on mutual respect and honouring the legally binding agreements between them.

“That is the best way to preserve the great relationship between the UK and China.”

Mr Liu was also summoned to the Foreign Office “within the hour”, to be told by its permanent secretary that his comments were “unacceptable and inaccurate”.

Yesterday Mr Hunt reiterated his comments: “The United Kingdom wants to ensure that what was agreed to, back in 1984, is honoured for those 50 years. If that agreement, between the United Kingdom and China, was not honoured then there would be serious consequences. Of course there would be.”

However, he refused to say what those consequences would be: “It’s not smart diplomacy” to spell them out in advance, he told Channel 4 News. But the foreign secretary added: “I made it clear that Britain – one of the oldest democracies in the world – is standing foursquare behind the agreement we reached with China over the future of Hong Kong.”

His comments came after the storming of the legislative council building in Hong Kong this week, on the 22nd anniversary of the territory’s handover to Chinese rule.

Demonstrators daubed graffiti on the walls and draped the British colonial flag, featuring the Union Jack, over the speaker’s podium before skirmishing with riot police outside.

Mr Hunt said: We urge the authorities not to use what happened as a pretext for repression, but rather to understand the root causes of what happened, which is a deep-seated concern by people in Hong Kong that their basic freedoms are under attack.”

China has condemned the protests and demanded that the pro-Beijing executive authority administering Hong Kong prosecute the protesters.

And it criticised Donald Trump after he said that the protesters were seeking democracy but “some governments don’t want democracy”.

Earlier, Theresa May told MPs she had been “shocked” by events in Hong Kong, saying: “The vast majority of the hundreds of thousands who marched did so peacefully and lawfully.”