Months of talks were needed to secure an agreement that has been hailed as evidence of improved Anglo-French relations