Lessons from the immigration war