In the US, with a US court. Suppose I went to a court in your country and tried to punish you for insulting the king of Thailand. I'd be laughed out of the courtroom, right? Even though that's a serious felony in Thailand.
Considerable misunderstanding here. Ofcom didn't go to a US court. 4chan went to a US court.
And lost. Judge dismissed the lawsuit on the ground that Ofcom is protected by foreign sovereign immunity.