About 1 in 4 applicants there get a place. Of those, some wouldn't have achieved the necessary grades anyway. It's only some people who buy in to the 'St Andrews is super prestigious' idea, mainly based on its age, a few traditions, prettiness of buildings, and William and Kate going there. All Scottish universities look harder to get in to than is actually the case due to the number of Scottish Highers that Scottish students take being higher than the number of A Levels that the average student takes elsewhere in the UK. A lot of people who'd easily get in St Andrews simply don't apply there as the overall quality of its research is good or very good (it's currently 23rd for all subjects as a whole) but not outstanding, and a lot of people prefer the things to do in other cities.