Such colleges may be very well endowed ones that can afford to maintain reserve capacity in all majors or expand capacity as needed when a major gets popular (Stanford appears to be in this category), or may have secondary admission procedures after enrolling to get into specific majors that are filled to capacity.