Stav dette: International legitimacy and the politics of security