Distant memory of this film. It could be an 80’s or 70’s movie.
So it starts with some divers looking through sunken ships for gold, when they get back to their boat they find some bandits on board. there was a few of them but i only remember that one was pretty young and the leader had a black beard.
There is a scene when the divers are standing at the side of the boat and the young bandit finds a gold coin in one of the divers shirt pocket.
Another scene after being forced to dive, the divers find an old bikini. The older beard pirate tries to get the young one to wear it, he refuses and some small fight breaks it and it ends with the older guy whipping hm with his belt .
Last scene as far as I remember was some sort of fight/scramble or escape on a beach.