na yonir nāpi saṁskāro na śrutaṁ na ca santatiḥ kāraṇāni dvijatvasya vṛttam eva tu kāraṇam

na yonir napi samskaro
na srutam na ca santatih
karanani dvijatvasya
vrttam eva tu karanam
"If one is factually situated in the occupation of a brahmana, he must be considered a brahmana, even if born of a ksatriya or vaisya family.
"O Devi, if even a sudra is actually engaged in the occupation and pure behavior of a brahmana, he becomes a brahmana. Moreover, a vaisya can become a ksatriya.
"Therefore, neither the source of one's birth, nor his reformation, nor his education is the criterion of a brahmana. The vrtta, or occupation, is the real standard by which one is known as a brahmana."
We have seen that a person who is not the son of a doctor and has not attended a medical college is sometimes able to practice medicine. By practical knowledge of how to perform a surgical operation, how to mix medicine and how to give certain medicines for certain diseases, a person can receive a certificate and be registered as a medical practitioner in the practical field. He can do a medical man's work and be known as a doctor. Although qualified medical men may consider him a quack, the government will recognize his work. Especially in India, there are many such doctors who perform their medical services perfectly. They are accepted even by the government. Similarly, if one is engaged in brahminical service or occupational duties, he must be considered a brahmana despite the family in which he is born. That is the verdict of all the sastras.
In the Srimad-Bhagavatam, (7.11.35), it is said: