As Donald Trump threatened to impose border taxes, the leaders of America's neighbours said they were prepared to act.