Dressing sloppily is not a sign of respect.
Pick which sentence is not logical.
Options:
"if you're invited to meet the queen, you are expected to dress elegantly."
"if you're invited to meet the queen, you are expected to dress sloppily."