(covers information from several alternate timelines)
The Treaty of Organia, also known as the Organian Peace Treaty, was an agreement enforced by the powerful noncorporeal beings of Organia upon the United Federation of Planets and the Klingon Empire, ending the Federation-Klingon War in 2267. (TOS: "Errand of Mercy")
According to the terms of the treaty, each side could lay claim to a disputed planet inside the Neutral Zone between the two powers, and was given the opportunity to demonstrate its ability to develop that planet most efficiently. Also, each side was granted the right to demand use of the other's shore leave facilities along the border. (TOS: "The Trouble with Tribbles")
The Treaty of Organia was eventually superseded by the Khitomer Accords of 2293, which bore out the Organians' prediction that the Klingons and the Federation would one day become friends. (Star Trek VI: The Undiscovered Country)
In the alternate reality, this treaty was in existence by February 2259. On the eve of the founding of Sherman's Planet, there was a dispute about this treaty. (Star Trek Into Darkness, production art)
Background information Edit
The actions of "A Private Little War" were said to break "the treaty" and therefore might trigger war between the Federation and the Klingons, but it was not explicitly said that this was the same treaty as the Organian one. If it was the same treaty, it would mean it did not allow indigenous native populations to be disturbed, except under the auspices of pure scientific exploration and research, and the Klingons would have violated it by giving flintlock rifles to the primitive inhabitants of the planet Neural.
According to the novel The Klingon Gambit, by Robert E. Vardeman, the Treaty of Organia covered a seven-hundred-and-fifty parsec zone. The novel How Much for Just the Planet? sums up the Organian Treaty as "Don't get grabby, or you'll get your fingers burned."