U.S. President Donald Trump receives a tour of Chateau de Versailles from President of France Emmanuel Macron ahead of a dinner, France, Wednesday. Reuters-Yonhap

PARIS — French President Emmanuel Macron offered Donald Trump a glitzy dinner in Versailles — and the U.S. president seized the opportunity to sign an initial deal with Iran inside the palace.

As Trump was about to leave France on Wednesday following three days of intense diplomatic talks at a G7 summit , he casually announced to reporters as he was getting into his car: “We signed in Versailles.”

In videos posted on X by Macron and a White House aide, Trump was seen seated at a table signing a paper copy of the agreement. He then handed the document and pen to Secretary of State Marco Rubio as Macron, sitting next to him, told him: “Good job. Bravo.”

Officials and guests applauded.