Have a look at this which describes how the Allies transferred German population as part of the Potsdam agreement. I'm reverting your edit. Also the one that inaccurately describes what UNGA 194 talks about.