Last-minute resistance from Canada had raised new doubts about its survival.