Throughout the Mahabharata the Pandavas are praised for their devotion to religion. But, on more than one occasion they remain safe because they dress as, and pretend to be, Brahmins. They did this knowing that they would be favorably treated—which wouldn't have been the case if they had pretended to be Vaishyas. Why is such deceitfulness sanctioned for them? Is it okay for anyone to pretend in such a way or was this specifically allowed for the Pandavas?
Yudhisthira was said never to lie, is such deceit not considered lying?