I wear jeans and tennis shoes when out walking around the city museums etc. When I go back to the hotel I regularly get asked if I am a guest. They do enforce the dress code in the bar.
FYI, if you are not a guest but try to enter the lobby in jeans they will not let you in, at least not five years ago.