the similarity is that you want to ban something ("landlording") that doesn't have a positive, feel-good reputation (poor people getting cheaper houses/rents), but which has positive effects such as creating a bottom and increasing market efficiency.