The agreement signed at the G7 summit is limited but an achievement nonetheless, writes the BBC’s political editor.