The government can also apply a global increase or decrease to rents in a city, based on study of the market conditions.
The tenant can object within X days of signing that the previous tenant's rent was less. That rent has to be made available for comparison. That makes it hard to raise rents by kicking people out.
There are many additional parts that the Swiss get wrong, but the above is a good start.