Can you name a movie from the late 80s in which a bad guy is dug into the sand on a beach as punishment, with only his head sticking out?

I remember there was also a young girl passing by and weed in his face

Can you name a movie from the late 80s in which a bad guy is dug into the sand on a beach as punishment, with only his head sticking out?
Post Opinion