I don't see any issues here as I expect the immigration dept to do their job even if it is Indian as I expect same kind of behaviour from US/any other country immigration as well.
Why do you expect just because of Indian origin, you should be expected to allow to enter country without proper documentation?
Also I expect these officers will be handling this kind of issues on daily basis and will have certain policies to handles them. I don't think they can behave rudely as even I travel more and seen the courtesy of officers in Mumbai, Bangalore and other airports. may be it is on reaction basis. I feel the situation would have more exaggerated from the actual situation.