I don't think mentioning the quality of the public schools is relevant. Poor people are almost always stuck in public schools (on occasion they can get aid for private schools). This rule on banning certain math classes applies to all public schools regardless of how good or bad they are. This means even if a poor kid went to the best public school in the world, they would still be impacted.
I have met teachers who would go out of their ways in helping the students to learn. My teachers from many years ago were like this. That's the perk of the good ones. But other than that, I agree with you