Reality TV star Tori Spelling and husband Dean McDermott have been ordered to appear before a California judge in connection with a malpractice suit that alleges the couple's production company stole an idea for a wedding show.

Radar reports both Spelling and McDermott were originally named as defendants in a suit filed by a pair of their former business partners where the parties actually reached a settlement agreement in 2013.

But not long after that, producers Denny Jr. O'Neil and Charles Malcom began questioning the validity of that agreement. Among their biggest contentions was that their own legal counsel had been rife with "illegalities and fraud" and that the signature on the documents was not Spelling's.

They also alleged that they were forced to sign the agreement under duress and that the $100,000 settlement figure was only half of what they had been assured they would receive.

The producers have now sued their own attorneys, and Spelling and McDermott have been ordered to appear as possible witnesses in the July 9, court proceedings.

It's not the first time the 42-year-old Spelling and her husband have been accused of a little deception.

Many have long speculated scenes from the couple's "True Tori" reality show chronicling their marital woes and his chronic infidelity were fake and staged for the purposes of the show.

As exhibit A, they point to Spelling's opening, six-minute monologue for the show, where she is supposed to be offering an "off-the-cuff" retelling of all the heartache she and her four children have endured stemming from McDermott's actions. A large portion of her exact speech appeared, word-for-word, on her blog days earlier.

In her book, "Spelling It Like It Is," the former "90210" star also previously admitted that she sometimes manipulated both the show and her marriage to create a "sort of energy between the two."