I did my undergrad from an insignificant public school in a third world country, but secured my masters (by research, no coursework) from one of the top 30 schools from that list and it was an enlightening experience.
To say the truth, I have learned most of the undergrad craps by myself (thanks to our local book markets teeming with pirated/photocopied books) -- in my case, the contribution from the so called "good teachers" is almost none. the "quality of teaching" is a very subtle concept and thers is no apparently good way to measure it. I think it is the "research" that should matter the most. Above all, no one is interested in average GPA of students.
The result of this is I have a significant debt (though less than you get from a US college), and an education which is completely sub par.
Interesting. This is definitely in agreement with the point that many "[research]" universities exist for the research and not for learning/growth outcomes. If only a better solution existed...