The Vienna Convention on Consular Relations is an international treaty that defines a framework for consular relations between independent states, establishing the rights and privileges of consular officials to ensure efficient performance of their functions on behalf of their respective states. It also provides for the protection of citizens abroad, including the right to communicate with consular officials if detained by a foreign government.