The Minister of Foreign Affairs will have to make that decision. Of course, the Canada Elections Act already stipulates that foreign interference in the election is illegal. Collusion between a Canadian player and a foreign player is also illegal. In such cases, the Commissioner of Canada Elections and the RCMP would have to intervene.
On February 26th, 2019. See this statement in context.