If X allows all AP scores and college courses to count for subject credit and placement, but only allows 20 credits to the number needed for graduation, then the student may not have to choose or have a choice.
But check X’s exact policy on the matter.