Officials say that the new treaty is ushering in a new legal era in which a wide range of issues, from climate change and peace to security and trade, can be addressed.