IC 35-47-2-1 and -2-2 give a myriad of exceptions to the requirement to be licensed. Couple of the big ones, being one of your brothers in blue, being on property you have an ownership interest in, being on the property of someone who has given you verbal permission to carry. But you're right. I don't expect police to know every nuance of the laws they try to enforce. I just expect them to take their medicine when they enforce non-law as law.
All of that is true, but I think that we are specifically talking about public carry.