How a 2015 arms control agreement became the mechanism linking Middle East diplomacy to global energy prices and sanctions enforcement.