The law isn't a magical paragon of morality.
When the law is as clearly wrong as this one is, it should be violated.
When the law is as clearly wrong as this one is, it should be violated.
What trade sanctions have been applied to Canada?
And something doesn't have to be morally good for stopping it to be morally bad. For example, playing chess is morally completely neutral, but it would be morally bad to attempt to ban chess.
Likewise, Iranians using slack isn't obviously morally good, it seems morally neutral, but enforcing a slack ban against Iranians is obviously morally bad.