yasya yal lakṣaṇaṁ proktaṁ puṁso varṇābhivyañjakam yad anyatrāpi dṛśyeta tat tenaiva vinirdiśet

yasya yal laksanam proktam
pumso varnabhivyanjakam
yad anyatrapi drsyeta
tat tenaiva vinirdiset
This is a statement by Narada Muni to Maharaja Yudhisthira, wherein Narada says that the symptoms of a brahmana, ksatriya and vaisya are all described in sastra. Therefore, if one is found exhibiting the symptoms and qualities of a brahmana and serving in a brahminical occupation, even if he is not born a brahmana or ksatriya, he should be considered according to his qualifications and occupation.
Similarly, in the Padma Purana it is said: