I was at a NY state park (beach) and parked on the side walk to not obstruct traffic to load my vehicle. A police officer gave me a ticket for 375.1 (I) - fail to use established ways - drive onto sidewalk. The officer did not see my drive, I was outside the car. He did not ask me any questions, was yelling at me to get my license and registration. After he took 20 minutes to write up the ticket, I asked him what is the issue and why is he taking so long he said just plead not guilty and I see you in court. Can someone please assist as it appears I must appear in court for this. I don't believe he had the right to give me this violation and should have been a parking ticket at best. Can someone help?