It does seem extreme, but is probably technically correct--while you were a guest at the hotel, if you were there after posted hours with notice of those hours and the impropriety of being there then, you were in fact trespassing. The odds are good that if there was no damage or injury to anyone, you weren't doing anything improper at the time, and you have a clean record, that the matter will either be dismissed (best case) or that you will get a very light punishment (e.g. a fine) to a very minor charge. That said, all criminal prosecutions should be taken seriously and you are advised to retain an attorney to advise and represent you. Good luck.