Prime Minister Jean-Claude Juncker , a staunch supporter of the pact , had promised to resign if it was not approved .