Which Classes of Structures Are Both Pseudo-elementary and Definable by an Infinitary Sentence?