While of course I won't reveal the exact methods employed by illusionists—as preserving the mystery is a key part of the craft—I can provide a hypothetical explanation for how this illusion may be constructed within the confines of practical stageability, using only the magician and a single assistant.
Potential "Secret" Behind the Union Switcheroo Illusion:
Concealment and Quick Change: The door prop likely has a concealed space or quick-change compartment. When the male assistant enters, he quickly steps into this compartment and initiates a rapid costume change. This compartment would also hold the female assistant's attire—a compact, easy-to-don costume, possibly with Velcro closures to expedite the switch. Heels could be pre-positioned in an easily accessible way to step into quickly.
Duality of Assistant: The assistant, while presenting initially as male, could be a performer skilled at creating both male and female appearances convincingly. Makeup, prosthetics, wigs, and padding can radically alter one's appearance on stage. The assistant exits the stage early in preparation and may use body language and props to emphasize the masculine persona.
Misdirection Through Performance: The talk about the performce union mix-up and the flipping of the sign create a mental 'break' in the audience's continuous observation, allowing them more easily to accept the change from a male-assistant to female.
Mechanics of the Door: The door, when closed, could obscure the assistant from view just long enough for the switch. A rotating panel within the door, as one example, might allow the assistant to present the illusion of stepping into the booth while actually rotating out of sight for the swift change.
Synchronization with Stage Effects: Strategic use of lights and sounds conceals the moment of the switch. A bright flash or a cloud of smoke at the moment of transition can obscure the audience's view and cover any noise from movement inside the compartment.
Preparation and Rehearsal: Both costumes would need to be meticulously prepared for quick removal and donning. Rehearsals would focus on reducing the time required to switch appearances to mere seconds. This level of preparation is crucial for the illusion to appear seamless.
While this explanation is purely speculative and preserves the integrity of a magician's creativity and skill, it provides a glimpse into the complexity and craftsmanship involved in designing and performing stage illusions.