See, it's not against the law to make up lies on TV news. It should be, but it isn't.
But it IS against the law to make up lies in court. That's the cool thing about court, you can't just talk shit and expect to win the case (seems your ex-wife learned that lesson but not you).