Tomasson's initial shot was easily saved by Kawashima but the ball rolled straight back to the striker, whose scuffed effort only just found the net to bring up his record-equalling 52nd goal in a Danish shirt.
Mario Gomez netted twice in the second half to reach his 100th goal in a red shirt, having earlier forced Czech international Gebre Selassie into diverting a cross into his own net.