You are correct, this is not the first time, nor the last, that a CDN politician has said something stupid after the demise of a foreign leader.
And here we have Harper's statement about the death of the King of Saudi Arabia in 2015:
http://news.gc.ca/web/article-en.do?nid=924869
Ottawa, Ontario - 22 January 2015
Prime Minister Stephen Harper today issued the following statement on the death of King Abdullah bin Abdulaziz of Saudi Arabia:
“On behalf of all Canadians, Laureen and I offer our sincere condolences to the family of King Abdullah bin Abdulaziz and the people of Saudi Arabia.
“King Abdullah was recognized as a strong proponent of peace in the Middle East. He also undertook a range of important economic, social, education, health, and infrastructure initiatives in his country.
“I had the pleasure of meeting King Abdullah in Toronto when Canada hosted the G-20 and found him to be passionate about his country, development and the global economy.
“We join the people of Saudi Arabia in mourning his passing.”