While Somali was convicted of public order violations and obstruction of business (which are generally illegal in many countries) and making sexually explicit deepfakes (which aren’t always), he received a prison sentence because he was doing so for social media benefit and personal profit, which carries a much harsher sentence in Korea. If he’d just been harassing an ex with deepfakes or seen kissing the Comfort Women Memorial but hadn’t tried to monetise them, he probably would just have been fined (the usual outcome for sexually explicit deepfakes in Korea, which remains very patriarchal). Thus, this is commonly seen as an example of someone going to jail for being an obnoxious influencer, though of course it’s more complicated than that. And yeah, his being foreign and black probably play a part in xenophobic Korea, his defence attorneys have definitely noted that and IIRC it’s part of his appeal.