Tear gas riots as 500-strong mob of migrants