Just watched Ensigns of Command.
The text of the treaty with the Sheliak (shown on screen at 38:14) is worth a close read
Couldn't find any screenshot or transcription of it online, so I've typed it out here. I've probably not read the numbers right, and "colme" and "destance" are misspellings which appear in the episode.
"All requests for changes in the text of provision (b) must be submitted in writing or by a terribly complex subspace long as it is encrypted and unreadable, as well as garbled and confused, so as to conform to the provision (a.294 a-c) of the incomprehensible acts of widdershins, Federation document locator number 784830.B340 (Section 876234). All of this is simply to get the text along to subparagraph 832, which is quite a ways down the page. You might think that this is incredibly clever stuff. Boy are you wrong.
Rick is totally getting a Kei and Yuri reference into the text. You know, the two cute girls with the big guns. We might also mention Akira, Ranma Nibunnoichi, Urusei Yatsura, Rhea Gall Force, and a few other animated films. The Federation at this point in time seems more tangled up in paperwork than the Iran-Contra scandal business.
In the text of the treaty, or didn't anyone think about that eventuality when the bloody document was first drawn up? Never mind, it's a rhetorical question anyway, but we just thought we'd try to demonstrate our legalistic cleverness. Just one more until the critical one, where we talk about consultations and that sort of thing.
We can do search-and-replace. Colme to think about it, that's what the Sheliac want to do with the colony on the planet. This section deals with the right of each party to confer with the other in the event something happens with the treaty. This may take the form of normal EM spectrum communication, subspace EM communication, face-to-face meetings, telephone tag, messages in bottles or any other water-tight form of enclosure, gossip, half-truths, outright lies, or face-to-face meetings. Interruption of treaty compliance shall not exceed one (1.00 x 10e8) standard UFP solar year (except during the month of July). See technical TA48589.1742 A-CE58945) for code inputs. LCARS updates on treaty compliance interruptions shall take place at each starbase layover, or when commanded by ranking UFP (or other designated body) officials at Starfleet Headquarters, 24-583 Federation Drive, San Francisco, CA, Earth, Sol Sector. Request for assistance may be placed by transmission to standard Starfleet booster station for channeling to UFP Treaty Office (Sol Sector).
Acceptable if appropriate notification is given to Federation Bureau of Treaties (Sol Sector). See TA 98745.234(I-F) for schedule of codes and temporal adjustment factors. Third Party Agreements. Third party assistance may be requested from a Federation if the destance from the vessel to Sol Sector is greater than 5,000 lightyears. UFP standards measurement bureau units. Assistance may also be requested if the vessel is less than 1,000 lightyears of a standard UFP subspace relay booster station. And that's the way it is."
EDIT: Just noticed this screenshot on Memory Alpha too: http://en.memory-alpha.org/wiki/File...f_Armens_1.jpg
(text is slightly different in this)