The long awaited deal could still be torpedoed if the Social Democrat rank and file vote against it.