I think we are all slightly different people, depending on who we are with. It smooths social interactions to adopt, or at least accede to, the prejudices of whoever we are interacting with.
Of course, being a full time troll, I adopt the opposite approach; so, for example, I am a strict scientific empiricist when interacting with mystics or rational idealists, a fascist around anarchists, and an anti-sex puritan whenever I encounter members of NAMBLA; though privately I support all three positions.