Sad reality is, those nations which adhere to something like Star Trek's Prime Directive are going to inevitably become the victims of those that do not (Interference in elections and politics is ridiculously common throughout history, after all).
Ergo, the solution is to emulate the Klingon or Romulan Empires.
In all seriousness, though, I see these events as proof that human behavior honestly hasn't changed that much since the Bronze Age, and that the appropriate response is quite simple. Escalating the matter is not going to end beneficially for any of the parties involved, therefore the appropriate solution is to do nothing (or at least, nothing visible). How many of the Saudi students attending university in Canada, after having been exposed to our way of life, actually
want to be relocated? This sort of thing may well backfire.