The man was found to have written “macabre and threatening words against Muslims”, local media Nordjyske reports.
The man denied having broken the law but admitted the writing the post, the court heard.
He said that the words were intended as part of a poem and should be considered a cultural input.
But Aalborg District Court found that the 39-year-old made threats of violence against Muslims, judging him guilty of breaching article 266b in Denmark’s criminal law code, also known as the 'racism clause'.
The punishment is ten fines totalling 4,000 kroner, which is too low a sentence to qualify for the right to appeal.
He will nonetheless consider applying to Denmark’s Appeals Permission Board (Procesbevillingsnævnet) for special dispensation to appeal against the ruling, his defence lawyer Dorte Kvist Knudsen told Nordjyske.
READ ALSO: Danish imam charged over call to kill Jews