Is it illegal to hop a fence at a hotel if I have a room there?
A year ago I was staying at a hotel for a company event, and the hotel had a fence that went around the perimeter of the property, with the exception of an open gate in the front for cars/pedestrians.
I was walking back to the hotel from the bars heavily intoxicated from a work event, and I decided that rather than walk all the way around the building, I would just hop the fence as a shortcut.
Waiting for me on the other side of the fence was a police officer in his car. He got out, yelled at me to walk over to him, and demanded to see an ID. I pulled out and gave him my room key (my drunken rational was that the room key would prove we were allowed to be there) and then gave him my ID when he repeated the question.
He questioned us for a while and gave us a hard time. Eventually, when he had determined that we were in fact allowed to be there and that we had not broken any trespassing laws, he told us that he would go easy on us and condescendingly told us to go to our hotel rooms and stop causing problems.
My question is; was anything I did actually illegal or warranting his response? I do not believe I was trespassing because I was allowed to be there, public intoxication is not illegal in the state we were in, and while hopping the fence was suspicious, I was not being loud or disorderly. I understand the reaction he had before he knew we were staying at that hotel, but his response after he determined we were guests there seemed unnecessary.
Was there any crime I actually could have been convicted of in this case?