It is ok as long as it is also funny. From the scene in which
Roger Rabbit escapes from handcuffs:
Eddie
Valiant: You mean you could've taken your hand out of that cuff at any time?
Roger Rabbit: No, not at any time, only when
it was funny.
"Wow, what
you just did was incredibly
offensive."
"That's
OK, because it was also funny. You know, the Roger Rabbit Principle..."