The wording of the June 17 interim US-Iran agreement emphasises the rights of coastal states in ways useful to Beijing