About the muslim 'terrorist'
One of the comment writers (ftmhsddq) was offended by the depiction of the only muslim character in the movie as a criminal/terrorist and says it inwoked images in his head of the Muhammad Cartoon Affair and danish racism etc.
I'm danish and I'm not really interested in discussing here whether we are racists or not, but I would like to point to a certain danish tradition which some of the non-danes in here may not be familiar with. In Denmark like in many other countries we have certain rituals that need to be followed in order to alleviate you of any guilt/shame before you can "get down to bussiness" on serious subjects.
In other countries such rituals involve drinking. In Japan for instance it's an old tradition that two men can't discuss deep personal matters without getting drunk first, because they are normally expected to be very formal, in control and certainly not in need of unburdening themselves to others. But because you're drunk you're excused and can always say afterwards that it was just the booze talking.
In USA in decades past it was a tradition that a 'proper' young woman should get somewhat drunk with a man before she would sleep with him, because then she could afterwards claim that she wouldn't have slept with him if he hadn't gotten her drunk and 'taken advantage' of her.
And so on.
In Denmark there's a tradition for approaching touchy matters by way of exaggeration. Matters that this movie touches upon like incest, neo-nazism, handicaps, abortion and crime are very real in danish society, but it's hard to touch on them in a movie in a politically correct way without the movie being heavy and boring. Unless you do it with humor. These heavy matters are of course not something you can normally make fun of without hurting people's feelings; unless you exaggerate. If you exaggerate so much that it's obviously out of the ordinary, then you can discuss hurtful matters without really hurting people's feelings (at least in the danish context).
Of course we are aware that the large majority of muslims in Denmark (and around the world) are neither terrorists nor criminals, but there is a substantial problem in Denmark with emigrants (often from muslim countries) who are badly integrated and turn to crime. Whether this is the fault of society or the individual is again not something I wish to discuss here. But by letting Khalid explain (in an exaggerated way) his reasons for doing what he does, we touch on the matter of how people's actions are always rational by their own standards even if they seem wrong and incomprehensible to others, which is often the case when it comes to crime and terrorism.
I agree with ftmhsddq that the muslim terrorist is a cliché, but so is the priest with his blind faith, the evil racist, the fat drunk etc., but they are all exaggerated and therefore not meant to be offensive.
I hope that what I'm saying makes some kind of sense to you and maybe enable you to watch other comedies like Adams Æbler without feeling offended.