this is encouraging rather than discouraging illegal immigration to the detriment of legal immigration
This is encouraging rather than discouraging illegal immigration, to the detriment of legal immigration.
This is encouraging rather than discouraging illegal immigration, to the detriment of legal immigration.