The following things are not in contradiction:

1) Someone can be against illegal immigration and for legal immigration.

2) That same person's idea about who should immigrate to the country may exclude most or all of the people who are currently immigrating illegally.

It's not like you can only be against illegal immigration because they forgot to fill out some form. Legal immigration has a component of deciding who gets in.