The resulting agreements have political consequences