I disagree with code officials all the time - and I used to be one!
Hotel rooms, motel rooms, apartments and condos are all dwelling units based on their occupancy classification. The only difference is if the sprinkler system is designed in accordance with NFPA 13 or 13R. I've never interpreted that the building's residential use (accessible to the public like a hotel versus a private dwelling such as an apartment)drove the requirements in Section 8.14.8.1. The requirement, which originated in NFPA 13R and was brought into NFPA 13, is based on the low fire loss history in small rooms and closets and that these rooms have sufficent fire-resistance to contain a fire long of enough so egress can be achieved once the smoke alarm activates.