Don't rent it then. All these laws are designed to make being a landlord hell so that people won't be landlords.
You seem to be assuming that if we, say, just made renting illegal, everyone would a) want to own a home, and b) have the finances necessary to do so. That's not the case.
Having 3 empty rooms helps no one except corporate landlords that can navigate and scale (and collude…).