China's ambassador to London has accused Britain of gross interference and of making irresponsible remarks since Beijing introduced new security legislation in the former British colony of Hong Kong.
Britain has said China's imposition of a security law on Hong Kong was a "clear and serious" violation of the 1984 Joint Declaration and that London would offer about three million residents of the former colony a path to British citizenship.
"The UK government keeps making irresponsible remarks on Hong Kong affairs," ambassador Liu Xiaoming told reporters in an online media conference, and said it had made unwarranted accusations about the security law.
On Britain's offer to give British National Overseas (BNO) passport-holders in Hong Kong a path to British citizenship, he said: "This move constitutes gross interference in China's internal affairs."
Although Prime Minister Boris Johnson describes himself as a "Sinophile", he has also spoken of the need to "stick up for our friends in Hong Kong", straining relations with Beijing.
He has also toughened his language on a provisional decision to allow China's Huawei to be involved in the development of Britain's 5G infrastructure, saying he would protect critical infrastructure from "hostile state vendors".
Mr Johnson has faced intense pressure from the United States and some British lawmakers to ban the telecommunications equipment maker on security grounds.
But Mr Xiaoming said although it wanted friendly relations with Britain, there would be consequences if Britain treated China with suspicion in making its decision.

Boris Johnson delivers a televised address (AAP) Source: AAP
"We want to be your friend. We want to be your partner. But if you want to make China a hostile country, you will have to bear the consequences," he said.