NEW YORK - Paris Hilton appeared to have worked her charms on a judge while testifying in a 8.3 million dollar lawsuit filed against her by movie investors.

The hotel heiress has been accused her of turning her back on promotional duties for the 2006 comedy, “Pledge This!”, a box office bomb that made just 2.9 million dollars.

The lawsuit claims the socialite disliked the movie, and pulled out of talk shows and radio and magazine interviews for the film in violation of her contract with the investors, reports the New York Daily News.

The 28-year-old jetted in from Dubai to Miami, sporting six-inch stiletto heels and a black dress, to appear for the case.

Paris said that she met her contract’s requirements and promoted the movies extensively, adding that the producers made “unreasonable demands” on her when her schedule was already full.

The star surprised Chief U.S. District Judge Federico Moreno by giving him a little wave before taking the stand.

The judge cracked: “I’ve never had a witness wave at me before.”

At one point, Paris was testifying about how full her dates were during rehearsals for her next movie, The Hottie and The Nottie,” when Moreno interrupted: “Was it better than this one?”referring to “Pledge This!”

“It was really good,” Hilton replied with a giggle. (ANI)