240.24 would not apply to a restaurant or commercial kitchen, correct. Only dwellings, dorm.'s, guest rooms or guest suites.
I am bidding a kitchen addition to a restaurant that is showing a sub-panel in the employee restroom in the kitchen. I wouldn't put it there personally, but if that is where it is shown and as long as it does not contradict the code, then it should be ok.
I just wanted opinions from people smarter than me and know the code better than I do.