There are a lot of minorities in Germany, which (sadly have to) accept daily racism.
Thankfully, at this point violence against minorities (~800 right extremists violent crimes in 2022 in whole Germany) is not as high such that people consider moving away.
And if you get a job there and this is your ticket into immigration, probably a lot of people will accept this to get German citizenship. Finally, this will open you access to all the working places in Europe.
My hope (as a West German) is that investments like this, will increase East-Germany's economy such that they are finally equal in terms of economic wealth, which is a large factor for racism/extremism.
Same with opposing climate change laws.