The score refuses to wink at the premise, and that refusal is what lets the comedy land with dignity intact.