You dont have your papers and you are not a citizen of India, why the heck they be allowed.
Just compare the way the USA immigration behaves with the so called "brown-skinned" EVEN AFTER VERIFYING ALL the papers. I faced this many times. Talk to those pigs on humanity.
Why do you expect India's rules be bent for a person who is ashamed of being an Indian. I see no wrong on the officials part.