I remember asking the long pants restaurant question once after being rebuffed at the only place on Tortola that required them ( then smartly dropped the rule).
" Are long pants required?", asked I. The very Scottish reply came:
"If you have cash or credit card you are properly attired!"