In my viewpoint, it doesn't need to cost much to be courteous or friendly to others. Take your case as an example, if the person had said "So sorry, but people wearing jeans could not get into the club", it would have been much better for both parties.
At least it can lower the chance for...