The UK government had considered a programme akin to the Rwanda scheme to send asylum seekers to Iraq despite Foreign Office advice against travel there.