This article is from the archive of our partner .

The lesson of James O'Keefe's latest legal problem might be: it can be far more expensive to consult a lawyer after the fact than before. Had O'Keefe checked California law, he might have avoided a $100,000 bill for videotaping at an ACORN office near San Diego.

On Thursday Wonkette revealed that O'Keefe had reached a legal agreement to pay that amount to Juan Carlos Vera, who in 2009 worked for the community organizing group ACORN. O'Keefe and his partner Hannah Giles taped an interview with Vera in his office which O'Keefe used in his ongoing campaign against the group. In fact, the video is still on the YouTube page of O'Keefe's group, Project Veritas.

That little segment — not even the most damning of the recordings O'Keefe and Giles filmed at ACORN offices — cost O'Keefe $100,000. You see, California is what's known a "two-party consent" state, which means that both participants in a conversation have to consent to it being recorded. Here's a guide to California's privacy laws meant for reporters. So, the hidden-camera tactics that O'Keefe specializes in are illegal in California. And while the settlement is specific in articulating that it "is in no way representative of any actual or implied admissions of liability," there's a reason O'Keefe will be handing over a six-figure check. Wonkette also notes that the settlement requires an 11-word apology for "any pain suffered" by Vera or his family.