The school is the sole decision maker. They may advise you of their selection criteria, but your child’s academic ability is usually one of many factors taken into account.