Snark is real , but so is lazy. "Nice" is also meaningless in the context of this post.
Carnival has the policy posted on their website. Rather or not enforced 100% is another matter.
I had people in jean shorts and white t-shirts on during elegant night on my last cruise.