Others did accept a limited right for military intervention in foreign countries, but nevertheless opposed the invasion on the basis that it was conducted without United Nations' approval and was hence a violation of international law. According to this position, adherence by the United States and the other great powers to the UN Charter and to other international treaties is a legal obligation; exercising military power in violation of the UN Charter undermines the rule of law and is illegal vigilantism on an international scale.