When I was queued for a stadium game, I was testing builds for Ana in the stadium practice range. Then upon joining the stadium game, I locked in Mercy at hero selection but I spawned in as Ana. Due to stadium rules I couldn’t change hero or exit the game without penalty.
It only happened once so far. It does not happen when in practice range for a different role than what you’re queued up for.