Under international law, it is generally prohibited to sue a government in another country's domestic court system (state immunity). What exceptions to that general prohibition exist is a topic of great controversy, and different countries take different positions.
Exceptions for commercial cases–when a foreign government directly engages in international trade or commerce–are widely accepted. This case falls into that category, so Canada was not being particularly exceptional in allowing it.
Exceptions for human rights abuses, torture, terrorism, etc, are much more controversial. The US legal system is actually a bit of an outlier here (albeit not uniquely one) in being willing to entertain lawsuits against foreign governments on the later bases when most legal systems will not permit them.
The Judiciary Act of 1789 says "The district courts shall have original jurisdiction of any civil action by an alien for a tort only, committed in violation of the law of nations or a treaty of the United States". That provision is known as the "Alien Tort Statute" or "Alien Tort Claims Act".
It is not clear what exactly the original meaning or purpose of this clause was, it was almost entirely ignored until the 1980s, when the US courts resurrected it as a basis for allowing victims of torture to sue the perpetrators in the US despite the fact that both victims and perpetrators were non-US citizens and the torture had no connection with the US. It is questionable whether this contemporary use of the clause is what its authors had in mind.
Most likely, the original intention was to permit foreign nationals to sue in US courts for wrongs committed against them by US citizens or in the US. For example, the US agreed in the peace treaty with Great Britain which ended the American Revolutionary War that British creditors would have their loans honoured, but several states refused to enforce those loans. In another case, in 1784, the top French diplomat to the US was physically attacked on a street in Philadelphia; the French government was upset that US law at the time did not allow the diplomat to sue his assailant. Cases such as these were likely the original intention of the clause, and its original authors probably never expected its later use, but the clause is so vaguely worded it permitted that later extension.
The US won't let you just sue foreign governments in its courts like that.
"Manhattan federal judge George Daniels signed off on a pro forma default order Monday against 'the Islamic Republic of Iran, the Islamic Revolutionary Guard Corps and the Central Bank of the Islamic Republic of Iran'"
Not an expert or lawyer, but the US FSIA has an exception for commercial activity carried out by the state in the US, which seems pretty much like the exact scenario here.
Formatting support on HN is bare minimum, the only options here are italic text (two asterisks) and codeblock (four-space indention), and there's nothing more. It's very unlikely that Hacker News will add any new styles, since the minimalism is intentional, which can be a bit limiting. However, you can use plaintext mailing list and forum traditions for everything else (e.g. manual blockquote mark ">", deletion mark "^H", sarcastic mark "/s", new subsection mark "- title" or "* title", etc). I usually use the more readable HTML <del></del> markup for strike text. Of course, Unicode abuse is always possible, just like what you've did here...
Only one thing to beware: To make a newline, you must make a new paragraph by creating an empty line (e.g. "line1\n\nline2"), merely a "line1\nline2" doesn't work. Just like LaTeX or Markdown, a line break in the source code is not the same as a logical paragraph in the output, it makes sense, but the lack of other formatting options makes it a bit inconvenient to making a list. But it's tolerable in the end.