Hotels have license to charge a guest's card for abnormal expenses that the guest causes. Things like fouling the bed or trashing the room. It'll be in the terms and conditions, and it is probably sanctioned by common law in any case.
I hope it is proved that this is stretching that license well past breaking point.