WASHINGTON — President Trump, the self-styled rebel who wants to sweep out an ancien regime, will travel to Paris on July 14 to commemorate revolutionaries who actually did it — with bloodshed and barricade-storming — 228 years ago in France.

The White House announced on Wednesday that Mr. Trump had accepted an invitation from President Emmanuel Macron of France to join him for Bastille Day. He extended the offer in a phone call the day before, when the two leaders discussed Mr. Trump’s latest warning to the Syrian government over its alleged preparation of a chemical weapons attack.

Mr. Trump and Mr. Macron are to review a traditional military parade on the Champs-Élysées, which this year will mark the 100th anniversary of the entry of the United States into World War I. American and French troops will march side by side along the avenue.

The White House used anodyne language to describe the president’s motives for going to Paris — “reaffirming America’s strong ties of friendship to France,” and “celebrating this important day with the French people” — which failed to even remotely capture the psychological subtext.