Just two months ago, Canada’s prime minister was in trouble. Then along came the US President.