I should still point out that in some of your examples, there is a choice. E.g., if a Muslim really holds a non-Muslim to be 'inferior', he'll no longer be inferior if he converts. It seems that there's no such hope or opportunity in the caste system.