My school is a public university. They’re not allowed to introduce mandatory placement exams like that. They have to work within the government-set high school curriculum.
They also don’t want to allow the advanced students to “test out” of the intro course, as some schools do, because the advanced students may be highly skilled at programming but totally lacking in introductory CS knowledge.