Most problems are detected when Inform translates the source text, but this is one of the exceptions, a "run-time problem" which emerges only during play.
The player must always be on-stage, more or less by definition, so cannot be changed to someone who is currently off-stage.