Germany has announced one category of foreigners who cannot become German citizens if they are found to have committed certain offences in any country.