Davening in a Costume on Purim

Q: Is it permissible to daven in a costume on Purim?
A: The basic Halachah is that one must daven in clothing that one would wear when standing before a king. Therefore, one should not daven in a costume. One exception is brought in Shut Shevet Ha-Levi (10:28): if someone is dressed up in the clothing of another type of Jew, i.e. a non-Chasidic Jew wearing a Shtreimel, it is permissible, since such clothing would be worn before a king (This is also brought in Sha'arei Yemei Ha-Purim, p. 57).