If the tax is revenue based then there should be nothing to pay , however some cities have a fixed tax per person per night , that is collected by the hotel and paid to the city authorities.
The hotel are not going to pay the city tax that is for the guest