In
(a), as soon as the error is discovered, the player is removed from the game, no penalties are assessed. In
(b), A5 will not actually “participate” until the ball becomes live. If detected prior to the ball becoming live, A5 would be directed to the bench and no penalty assessed unless the official deemed it was a deliberate attempt to circumvent the rules. If detected after the ball becomes live, it is a technical foul charged directly to the head coach resulting in the loss of coaching-box privileges. The player is immediately removed from the game and Team B is awarded two free throws and a division-line throw-in.