This is being hailed as the largest agreement that Britain has signed since leaving the European Union.