> I'm not sure the marginal cost of an extra student is very high. They take a seat in a classroom and a few hours of teacher time to grade their work
Maybe, but there's also opportunity cost. That's one seat that someone isn't taking, teacher time that isn't going to someone else.
> contribute to the German economy by living there
Yes, but they cost the German economy by being there too. Have you done the math on the tradeoff?
> they'll keep a fond memory for Germany and I'm sure that will somehow have a positive impact
How? I have a fond memory for Germany after being a tourist there. Didn't need to cost the state tens of thousands in tuition dollars to do it.