Stores do this already. Signs which read "Restrooms for customers only" are not uncommon.
Class of customer, in the sense of the question, is a visual attribute of a customer making them unwelcome due the low probability of them being profitable for the store.