Some times private clubs or holiday centres will have rules about clothes such as insisting that clothes are not worn in and around the swimming pool but are worn in the restaurant.