Rent seeking behaviour causes prices to rise making the market inaccessible to homebuyers. Making property less attractive as an investment should help curb this tendency.
If it is attractive to investors to run illegal hotels now, it will only become more attractive to do so once they are unable to raise rents on normal tenants.
Rent freeze will limit available housing and lower the quality of it.