Not all laws are just, or should be kept on the books. Alcohol prohibition comes to mind. Marijuana prohibition should follow suit. The laws against interracial marriage were also unjust, and so we did away with them. The Alien Registration Act. Laws against the recapture of fugitive slaves.
On the subject of immigration, what’s the problem with allowing immigrants into the country? The people who created this country were themselves immigrants. They weren’t native to this land.