I understand the reason you have described to change religion or become an atheist. But in part of India where I am from, I see people adopting another religion and still taking the cast name with them. They will only allow marriage within "Christian + same cast" people. Even People who have renounced God and become atheist home on to their cast. I guess it is the tribal instincts of human being kicking in.