Children of well educated parents almost always end up at a Gymnasium from which their career path ends up leading them to a university degree. Those in others types of schools have a tougher path leading to university education and will most likely end up in the equivalent of community colleges, vocational training or apprenticeship. Since recommendation by teachers counts for admission to a Gymnasium and this is often subjective, children of parents from less privileged backgrounds (blue collar workers, immigrants etc.) often end up in other schools. Sometimes this is an example of how society is stratified - a place for everyone and everyone in their place.
Apart from the public schooling there are also private schools which are almost entirely for children of very well to do types since they come with a significant fee.
Where it does get selective is at the prep-school level. But AFAIK this is based on the high-school grades, and it would seem that being very good in a "bad" high-school nets you better chances of being picked than being average in an "elite" high-school.
Classmates of Sarkozy's and Lagardère's kids at École Jeannine Manuel will continue to leverage their network from there no matter if they attended a Grande école or a random generic university. And there are plenty of schools like those to this day in France.
This is the exact kind of network that Americans complain about with regards to legacy.
Most HNers did well enough on their SATs and ACTs to attend a target public school or non-legacy private like UC Berkeley or MIT respectively, and around 75% of students at Harvard didn't get in via Legacy admissions yet we (rightfully) still complain about that 25% who leveraged their network and class background to get in.