There is a connection between the issue of refugees and the battle against the so-called Islamic State.