Even if the value is coming entirely from your fellow students, that has no effect on deciding which school you want to go to. You want to be in that environment, and also get the status from the exclusivity.
However, having an entire class that actually is at the bar for which the curriculum is designed, and having an entire class of students who generally want to learn, does allow teachers to actually spend most of their time teaching the curriculum as intended. We had no problem being up to date with the Bacalaureat matter, for example. No one in the entire HS flunked their exam either.
The general state of high schools in the country is terrible though. Teachers don't care to know the curriculum, they don't have time to go through it if they want anyone in the class to actually be listening, many poor kids don't have time or energy for school among their many other chores (especially in the more rural areas of the country, children are a big part of house and field work) etc. Many children who nominally finish high school probably haven't even heard of a quarter of the questions they'd get on the Bacalaureat.
It's also important to note that there is a massive cheating culture in Romanian schools, all the way up and down. There was some push ~10 years ago to stop cheating at the national exams, installing cameras and such, and the Bacalaureat results dropped from ~80% pass rates to ~40% nation wide in that year; there was one case of an HS where the previous year 90+% of the students had gotten a 10/10 on their exam, and after the anti-cheating measures the following year, not one child got the 5/10 required to pass.
The Capacitate/National Tests exams that you take at 14 were even worse, with all sorts of advanced questions that were either cheated through or at the very best rotely memorized. In my time, we were required to do literary analysis on one of these exams, writing a 2 page essay on things like "the characterization of <female heroine in major novel>". After some reform, today you get questions like "here is a newspaper article about a meteor. How large is the meteor? What is it made of?" and still many many children don't pass - because those are the actual results when you take cheating out.
Not to mention, Romania consistently ranks last in the EU at PISA tests. And around 50%+ of the country is functionally illiterate (that is, they technically know the letters and words, but can't actually read an article and tell you what it means).
I'm sure there is some amount of unseriousness polluting the test results. It's unclear to me how much.