Yes it is. If the law does not do justice on the whole, it has become an ass.
The law that should be changed is stopping chain migration, the “lottery”, anchor babies, etc.
But amnesty doesn’t bring justice to anyone or anything. Just because your local police weren’t there to catch you the first 100 times you could have been ticketed for speeding on a road, doesn’t mean that they can’t ticket you when they do indeed catch you in the act.
The illegals in the US now have typically committed many felonies with identity theft even beyond the immigration laws they have broken, while soaking up all kinds of welfare support, subsidies, EITC, expensive educations for their children, etc., etc.
We will never recover those thefts, but they can at least take the scholarships they have swiped in US life to go home and improve their own countries.