I think there is a fault in your argument.
Not all students, use global rankings to make up their minds.
It's a matter of perspective. I am fairly confident that most top 5% European students have not considered applying to an Ivy League school or any American university for that matter.
Your claim that German universities mainly attract mediocre students is completely unfounded.