You'll get treated better by the staff if you dress better.

I'm less concerned with the behavior of the staff than the behavior of the other passengers

The staff can be more inclined to help you if you've got a problem.