The only time it would be acceptable is if you have the body of adonis himself and you on a hot foreign beach.
If you are like the bloke in the picture then it wouldn't be ok even to wear speedos!!