If you stay more than 30 days in the same room, you are considered to be tenant and the hotel your landlord. Legally, the hotel will be put into a different tax class if this happens. So they don't have to pay extra in taxes, the stay is limited by the hotel to 30 days.