The coach will substitute out as he sees fit, but player X will still be given priority, moreso than if the PG spot was left blank. Also, if you're winning by enough (20+) that it becomes "garbage time," the coach will empty the bench regardless of your priorities. If you think this might happen, set the roster 9 or less players so there aren't enough bench player to sub out your trainee.