If the dress code is casual, don't show up in a tux. Even worse, if the dress code is formal, don't show up wearing torn cargo shorts, a tank top, and soccer cleats.
Ignore the dress code. If the dress code is casual, don't show up in a tux. Even worse, if the dress code is formal, don't show up wearing torn cargo shorts, a tank top, and soccer cleats.