Sorry thats pure non sense, you can publish whatever you want in germany (and i guess the other countries too...) as long as it isn´t hatespeech etc.
There are books for sale like the ones from Thilo: Sarrazin https://en.wikipedia.org/wiki/Thilo_Sarrazin
Which are full of anti immigration speech and whatever...