European leaders set aside recent tensions to engage constructively with President Donald Trump during the Group of Seven summit held this week in Évian-les-Bains, France. The shift toward a more conciliatory tone marks a departure from months of strained relations following disagreements over Iran, U.S. troop withdrawals, and other geopolitical issues.

On Tuesday, German Chancellor Friedrich Merz presented Mr. Trump with a soccer jersey bearing the number 47, symbolizing a gesture of goodwill amid a period marked by critical exchanges. Despite the friction over the Iran conflict and threats such as Mr. Trump’s earlier suggestion to acquire Greenland, European leaders demonstrated a willingness to maintain diplomatic civility, recognizing the strategic importance of engaging with the United States.

The thaw comes as Mr. Trump unveiled a tentative peace agreement with Iran on the eve of the summit, a development welcomed by European officials who saw potential economic benefits and a path toward stabilizing the region. Ursula von der Leyen, president of the European Commission, praised the framework for its prospects to reopen the Strait of Hormuz, reduce oil prices, and curb Iran’s nuclear ambitions.

Analysts suggest the cordial interactions reflect a pragmatic acknowledgment among European policymakers that the trans-Atlantic relationship has undergone a fundamental change. Jeremy Shapiro, director at the European Council on Foreign Relations, noted that Europe must navigate the reality of Mr. Trump’s leadership without an alternative strategy, leading them to “play nice” in diplomatic settings.

The ongoing tensions between the United States and Iran have placed European governments in a challenging position, balancing U.S. demands with domestic opposition to the conflict and economic repercussions from disrupted energy supplies. In response, French President Emmanuel Macron and British Prime Minister Keir Starmer committed to deploying military resources to safeguard navigation through the Strait of Hormuz, contingent on durable ceasefire conditions.

President Macron, who hosted the summit, extended a formal invitation to Mr. Trump for a dinner at the Palace of Versailles to mark the 250th anniversary of American independence. The event underscored efforts to rekindle personal rapport and demonstrate respect, with Mr. Trump expressing admiration for the palace’s opulent design.

Despite the convivial atmosphere, some diplomatic friction persisted. Mr. Trump declined a one-on-one meeting with Mr. Starmer, though the British prime minister downplayed any notion of being slighted. In contrast, Mr. Trump held private talks with leaders from the United Arab Emirates and Qatar, expressing appreciation for their support on Iran-related matters.

Throughout the summit, Mr. Trump defended the fledgling Iran agreement, disputing claims of a U.S. investment totaling $300 billion in Iran and reiterating assurances that the deal prohibits Iran from acquiring nuclear weapons. He cautioned that Iran would face severe consequences should it pursue nuclear armament, framing his involvement as a necessary intervention to prevent such an outcome.

The developments at the G7 meeting reflect a cautious recalibration of trans-Atlantic relations, signaling European leaders’ preference to engage with Mr. Trump’s administration despite lingering uncertainties and unresolved disputes.