That can have an invidious effect on individuals who are subject to that law, and it can also have an invidious effect on people, such as landlords, who are expected to act as de facto immigration officers. At the end of the day, they are landlords and are just trying to do their job by letting out their property properly.