Schools in this situation put admission gates in front of majors that are enrolled to capacity, so that upper level courses are not over-enrolled. Additional lower-level sections for those aspiring to the majors are easier to add with TAs or adjuncts, unless the school is a LAC that tries to have regular faculty teach every course (but then it has to choose between increasing class sizes or shutting some students out of them).