For the same reason that I, a white English-speaking person, am not going to be able to fool a British old-money old-boys club that I have the same cultural background that they do.
As far as I know (from some coworkers) they do.
But last name is only the first step/flag in identifying to which caste person belongs. Sorry, I don't remember exact details, but there some additional steps like special clothes I think?