The Chinese Embassy in Berlin expressed "strong indignation and firm opposition to the wrong remarks of German Foreign Minister Heiko Maas" in a statement posted on its website and dated Friday.
British Prime Minister Boris Johnson announced earlier that his country is ready to open the door to almost 3 million Hong Kong citizens if China enacts a national security law for the city.
The US has sharply criticized the legislation and threatened to withdraw preferential trade status for Hong Kong.
With Hong Kong successfully flattening its curve of COVID-19 infections, there has been a revival in anti-government protests over the last couple of weeks.
The announcement came as city leader Carrie Lam faced criticism in some quarters over her administration's response to the crisis.
Hong Kong leader Carrie Lam says special status can endure beyond 2047 if 'loyalty to Beijing' upheld
Lam's comments at the Legislative Council appeared to be an appeal to those in the city who see Beijing as tightening its control over the semi-autonomous territory's civic, economic and political lif
The ferocity and frequency of the protests have died down in recent weeks but there are still rallies and occasional clashes with police while the unrest has pushed Hong Kong into a recession.
The protests began in June over a proposed law that would have allowed extraditions to China, but have since adopted demands for universal suffrage and an investigation into alleged police brutality.
The mass demonstrations began in June in response to proposed legislation that would have allowed Hong Kong residents to be tried for crimes in mainland China.