Do you even know what "hets mot folkgrupp" entails in Sweden?
Enligt 16 kap 8 § brottsbalken, är hets mot folkgrupp att
uppsåtligen,
i uttalande eller i annat meddelande som sprids,
hota eller uttrycka missaktning för folkgrupp eller annan sådan grupp av personer med anspelning på ras, hudfärg, nationellt ursprung, etniskt ursprung, trosbekännelse eller sexuell läggning.
According to 16 chapter 8 § penal code, hets mot folkgrupp is to
intentionally,
in speech or in other message that is spread,
threaten or express disrespect for an ethnic group or any other such group of people with allusion on race, skin color, national origin, ethnic origin, faith or sexual orientation.
What got him was expressing disrespect. Not fostering hatred.