The behind-the-scenes journey from draft to deal raises uncomfortable questions about whom the UN truly serves, and for what purpose.