This is an interesting contrast to the US. Germany educates foreigners for free because they want them to stay. In the US it is very hard for someone to stay after going through a publicly funded PhD program. Other than exporting our culture I am not sure what the goal could be.