The cases aren't parallel. You don't have a choice as to whether to deal with the government, at least if you want to live in your own country. You do have a choice as to whether to patronize a hotel.
I'm amazed that the attitude of so many people is "If the contract on offer from a business doesn't suit me, I will enter into it anyway, fully intending to violate it." That's unethical in and of itself, never mind the potential for property damage or medical problems for the person who has the room after the selfish jerk who sneaks in the pet.