Pensions for foreigners? (2020)

You described the new and the old pension system. The old pension system is only used if you got hired many years back. Almost all foreigners can assume to use the new pension system.