Obviously, it would comply. However, that one step would not suffice.
On paper, all the major principles that guide the policy of the Government of Canada reinforce international law and recognize its importance, but they are not enforced. We have to learn from the mistakes of the past.
At the time of the Oslo accords, there was tremendous support on all sides for the peace process and mutual recognition. Even in Gaza, Hamas's popularity had fallen to zero, or close to it.
The reason it didn't work was that on the day the Oslo accords were signed, September 13, 1993, settlement construction in the occupied territories was ramping up again. In seven years, between 1993 and 2000, Israel moved four times as many settlers into the occupied territories as in the previous 25 years. All of this was done in violation of international law. However, no serious pressure was brought to bear to put an end to it. That's where the problem lies.