Islamic State militants in Libya have threatened to attack Europe, while boatloads of migrants flee the collapsing state for European shores. Could the migrant flows provide a cover for the militants – as Italy and Egypt have claimed? Their warnings evoke a vicious logic, at odds with humanitarian imperatives: refugees bring conflict, as conflict breeds refugees. Analysis for the BBC News website.