On past cruises I’ve seen it mainly pertain to the main dining room. Also, I’ve never seen them stop anyone from sitting down to eat, no matter what they are wearing. I’ve had dinner in a tux on formal night and seen shorts and t-shirts on some people.