BEIJING — The news made global headlines on Wednesday: Queen Elizabeth II of England had remarked at a Buckingham Palace garden party the previous day that Chinese officials accompanying President Xi Jinping on a state visit had been “very rude.”

An officially released video of the comment, made in conversation with a Metropolitan police commander, Lucy D’Orsi, circulated widely online. Ms. D’Orsi had managed security during Mr. Xi’s visit in October. At the party, the queen, widely considered a paragon of decorum, was expressing sympathy with Ms. D’Orsi over difficulties the policewoman had experienced, saying it was “bad luck” that she had had to deal with the officials.

Ms. D’Orsi said that Chinese officials at one point stormed out of a meeting in London with her and Barbara Woodward, the British ambassador to China, and threatened to cancel Mr. Xi’s visit.

The queen’s words resonated online. Among hundreds of comments on The New York Times article, one reader from Michigan wrote: “Hats off to the queen for telling it like it is. The Chinese government is a rude bully, as it demonstrates repeatedly by its actions around the world.”