People ‘should not take law into own hands’ in response to migration concerns