Freedom of speech is not guaranteed in Germany. If it were, holocaust denial wouldn’t get people jailed.
Then put selective enforcement on top and you have a very powerful weapon that gets great PR ("against hate").
So you can’t get prosecuted for disliking someone (and saying so) but you can for saying insulting or untrue (e.g. holocaust denial) things - those are not opinions.