They are in the evil parallel universe. Spock gets facial hair, Janeway gets the cast from Frasier. In the timeline, it's after the episode where Neelix and Tuvok merge into the same terrible person, but before the episode where Janeway and Seven of Nine talk about their feelings.
Also, I'm pretty sure the holographic doctor fired his agent after not getting cast for this skit.