In some parts of Spain it’s against the law to be in the street wearing only a bikini or swimming shorts/trunks. Being bare-chested has also been banned. Some local councils will impose fines if you’re caught wearing swimwear on the seafront promenade or the adjacent streets.