The Federation Diplomatic Corps, or the Diplomatic Corps, is a major division of the United Federation of Planets.
The Diplomatic Corps is responsible for maintaining inter-state relations and diplomacy within the Federation and among its membership, in peacefully engaging with non-member worlds and interstellar political entities, including negotiating treaties with them. It is composed of Federation ambassadors and executes the foreign policy set by the Federation President, and the Federation Council. The Diplomatic Corps often works closely with Starfleet.
The negotiating skills of the Diplomatic Corps have been proven invaluable in maintaining relatively good relations with many interstellar states.
The Diplomatic Corps has the authority to grant diplomatic immunity to diplomats, emissaries and dignitaries of ambassador rank, including those of normally hostile governments conducting relevant business with the Federation.