My question involves search and seizure law in the State of: NJ.
For some odd reason I was drinking in a public parking lot while my friend was inside the restaurant using the bathroom. Upon return of my friend we were going to leave. Sitting on the bumper of my car with the trunk open, I had a bottle in my hand. When police were called to falsely accuse us of "jumping on hoods of cars." The accusation was clearly nonsense. Anyway, when I saw the first squad car pull up, I discreetly put the bottle in the trunk and closed it. The trunk looked closed, but wasn't, and the officer opened it anyway. Was this legal?

