The BBC's diplomatic correspondent Caroline Hawley analyses what will come out of the deal signed on Wednesday.