From the outside, this sounds scary. But if you look closer how germany works, forced selling to the state or city (at the current market price) is quite often happening in building infrastructure like streets, autobahn, railways or airports. If there is an overwhelming public interest, the rights of owners can be limited.
And btw: it's stated in the constitution, that ownership introduces also responsibility to the society.