Canada's Justin Trudeau poses with other G7 attendees for a 'family photo'. Photo / AP
Halfway across the Pacific Ocean, Donald Trump heard the closing statements from the G7 summit in Quebec (which he had left early to meet North Korean dictator Kim Jong Un in Singapore).
All the G7 countries had signed up to an anodyne closing communique that papered over the huge gap between the United States and the other six on world trade - but Canada's Prime Minister, Justin Trudeau, then said once again that he would answer Trump's big new tariffs on steel and aluminum imports with new Canadian tariffs hitting US exports as hard.
He had said it before, including to Trump's face the previous day. The other national leaders in Quebec said exactly the same thing, and none of them had changed their positions before the final communique was agreed. But Trump flew into a rage.
No jumped-up leader of a rinky-dink country like Canada was going to get away with talking to the US President like that. Trump retracted his endorsement of the joint communique, called Trudeau "very dishonest and weak", and hinted heavily that his next target would be Canada's car-making industry (which is almost wholly integrated with its US counterpart).
No surprises here. The other countries of what used to be called "the West" have grown used to Trump's tweeted outbursts, and French President Emmanuel Macron restricted himself to saying "international co-operation cannot be dictated by fits of anger and throwaway remarks".
True enough, but what also needs to be said loudly and often (but generally isn't) is that the whole confrontation over trade is irrelevant to Trump's real political concern, which is vanishing American jobs. He's not just barking up the wrong tree on this issue; he is baying at the moon.
Trump's line is that the very high unemployment rate in the US (which he is almost alone among American politicians in acknowledging) has been caused by free trade. The evil foreigners took advantage of gullible Americans to make free trade deals, then lured ruthless US manufacturers to relocate their factories in their low-wage homelands.
This only made sense for American manufacturers if there was more or less free trade between their new base and the US, so that they could still sell their products back home without tariffs. For Trump, therefore, free trade is the mother of all evils. But while more than a million American jobs did get sent abroad like that in the 1990s, very few have been exported in the past 15 years.
In the first decade of the 21st century, the US lost one-third of all its manufacturing jobs, and the vast majority were killed by automation. They didn't "go" anywhere. They just vanished.
It happened first in what became known as the Rust Belt, because that was the main centre of assembly-line industry in the US. Assembly lines, which break a complex task down into a series of simple and highly repetitive actions, are the easiest thing in the world to automate.
Job destruction then slowed until other new computer-driven technologies matured: self-driving vehicles, on-line shopping, "dark" factories and warehouses. But they are ready now, and the carnage in retail jobs, driving jobs and warehouse jobs is just getting underway. To worry about free trade while this is going on is pure folly.
Not only has the "offshoring" of jobs virtually stopped, but there is a new phenomenon called "reshoring". Some American manufacturers are bringing their factories home, because with full automation you have to hire only one-tenth of the high-paid US workers you used to employ, and by reshoring you get to work in a predictable legal environment in your own language.
Trump can do a lot of damage to employment both elsewhere and in the US by launching a trade war, but he cannot "bring the jobs back". They are gone for good,and a lot more will follow.
Automation may be slowed down here and there for a while, but eventually it will eliminate at least half the existing jobs - and the notion that it will create equivalent numbers of new good jobs is an amiable myth.
So while the leaders of other rich countries will have to divert some attention and effort to coping with the negative impacts of Trump's trade war, they must not let that become their obsession too. It's a side issue, though potentially a very expensive one. In Canada, in France, in Japan, in all the developed countries, the real problem is the same as in the US: the inexorable advance of automation and the resulting haemorrhage of jobs.
So devote most of your attention to that, and only respond to Trump's declaration of trade war to the extent that is politically unavoidable.
In the end, you'll be glad you did.
• Gwynne Dyer's newest book is Growing Pains: The Future of Democracy (and Work)