SB 9.21.15
tasya tribhuvanadhisah
phaladah phalam icchatam
atmanam darsayam cakrur
maya visnu-vinirmitah
Translation by His Divine Grace A. C. Bhaktivedanta Swami Srila Prabhupada:
Demigods like Lord Brahma and Lord Siva, who can satisfy all materially ambitious men by giving them the rewards they desire, then manifested their own identities before King Rantideva, for it was they who had presented themselves as the brahmana, sudra, candala and so on.