Diplomatic recognition in international law is a unilateral political act with domestic and international legal consequences, whereby a state acknowledges an act or status of another state or government in control of a state (may be also a recognized state). Recognition can be accorded either de facto or de jure. Recognition can be a declaration to that effect by the recognizing government, or an act of recognition such as entering into a treaty with the other state. A vote by a country in the United Nations in favour of the membership of another country is an implicit recognition of that country by the country so voting, as only states may be members of the UN.
The non-recognition of particular acts of a state does not normally effect the recognition of the state itself. For example, the international rejection of the occupation of particular territory by a recognised state does not imply non-recognition of the state itself, nor a rejection of a change of government by illegal means.
Diplomatic recognition must be distinguished from formal recognition of states or their governments. The fact that states do not maintain bilateral diplomatic relations does not mean that they do not recognize or treat one another as states. A state is not required to accord formal bilateral recognition to any other state, and some have a general policy of not doing so, considering that a vote for its membership of an international organisation restricted to states, such as the United Nations, is proof of recognition.
Some consider that a state has a responsibility not to recognize as a state any entity that has attained the qualifications for statehood by a violation of basic principles of the UN Charter: the UN Security Council has in several instances (Resolution 216 (1965) and Resolution 217 (1965), concerning Rhodesia; Resolution 541 (1983), concerning Northern Cyprus; and Resolution 787 (1992), concerning the Republika Srpska) issued Chapter VII resolutions (binding in international law) that denied their statehood and precluded recognition. In the 2010 Kosovo decision, the International Court of Justice decided that "general international law contains no applicable prohibition of declarations of independence". The Court carefully noted "that in all of those instances the Security Council was making a determination as regards the concrete situation existing at the time that those declarations of independence were made; the illegality attached to the declarations of independence thus stemmed not from the unilateral character of these declarations as such, but from the fact that they were, or would have been, connected with the unlawful use of force or other egregious violations of norms of general international law, in particular those of a peremptory character (jus cogens). In the context of Kosovo, the Security Council has never taken this position. The exceptional character of the resolutions enumerated above appears to the Court to confirm that no general prohibition against unilateral declarations of independence may be inferred from the practice of the Security Council."