Hugo,
Rule 8.9 ART.2 . . . In the top of the first inning only, the pitcher and catcher are identified as those players listed on the lineup as the pitcher and catcher; both must face at least the first batter on defense (one pitch). Thereafter, the pitcher and catcher are identified as the last players who physically played that position on defense. The pitcher or catcher must bat and reach base legally (or earn their way on base) in order to be eligible for a courtesy runner.
This was violated so,
PENALTY
Arts. 1 through 6) Illegal substitute as in 3-4
c. a courtesy runner if that player has violated the courtesy-runner rule.
PENALTY: (Art. 1) Restricted to the dugout/bench for the remainder of the
game. (Art. 1a, c) She is also called out.
Paul