I don't recall a time when something like this has happened my husband and me, but I'm sure it has. Typically, we use techniques from 123 Magic combined with Love and Logic. The 1-2-3 Magic uses time-outs for undesireable behaviors. The time out allows us as parents to determine a logical consequence that we can all live with. I believe it's Love and Logic that teaches a consequence doesn't have to be immediately given. "There will be a consequence for xyz, but I haven't decided upon a consequence. I'll let you know after your time out or after I've spoken with your father, etc." Of course with modifying some behaviors the consequence must be immediate, but if you have several tools for dealing with bad behavior, you are much better off.
My son clearly knows that some behaviors are instant time outs (hitting, throwing things, etc.), some are 1-2-3 (talking sassy, non-compliance, etc.), some are issues daddy and I have to agree upon a consequence.
Just this week he broke the remote to our BOSE! I was immediately furious, he was given a time out, and my husband and I talked about a consequence we could live with--no TV for a week (my son has even tried to comply with this consequence when he goes to his best friend's house, because he doesn't want the timeline extended).
I want to add that my knows our forms of punishment/consequences, and at times his behavior warrants a swat on the behind. In that case, he is warned that he is being defiant and when I get to 3, if he has not complied, he will receive a swat.
Most of all we try as best as possible to be consistent and on the same page, but face it it doesn't always happen. And overall, because of the differences, your child will learn to deal with different types of individuals.