Terms will deepen economic co-operation in return for new immigration and financial commitments