It's a very good question. Unfortunately, it's unclear to me which of those would apply as it's currently drafted, because it says “obtained by committing the offence”. It's a little unclear. It would depend how Elections Canada interprets the provision.
On October 19th, 2017. See this statement in context.