Taylor Swift will have to submit to a deposition that may be more uncomfortable than she would have preferred.
The pop star is battling in court with David Mueller, a former radio host who she alleges groped her during a 2013 meet and greet before a Denver concert. Mueller is suing her for slander while she's brought counterclaims alleging sexual assault and battery. The legal action is taking place in a Colorado federal court under some intense secrecy. Many of the court filings have been filed under seal.
According to judge's order on Thursday, however, Swift's attorneys brought an oral motion at a telephonic discovery hearing that in part aimed to stop her deposition from being videotaped. The judge denied that request.
Additionally, Swift was unsuccessful in prohibiting Mueller from attending the deposition. As a result, the man Swift accuses of groping her can be there as she recounts conduct that she characterized as "outrageous and humiliating" in court papers.
RELATED: Taylor Swift through the years
Taylor Swift through the years
Taylor Swift through the years
LOS ANGELES, CA - FEBRUARY 15: Recording artist Taylor Swift attends The 58th GRAMMY Awards at Staples Center on February 15, 2016 in Los Angeles, California. (Photo by Steve Granitz/WireImage)
Taylor Swift arrives at the iHeartRadio Music Awards at The Shrine Auditorium on Sunday, March 29, 2015, in Los Angeles. (Photo by John Salangsang/Invision/AP)
FILE - In this Dec. 31, 2014 file photo, Taylor Swift performs in Times Square during New Year's Eve celebrations in New York. Swift, along with Amanda Lambert, Kenny Chesney, George Strait, Garth Brooks, Reba McEntire and Brooks & Dunn will receive a special honor at the Academy of Country Music's 50th awards show on April 19. (Photo by Charles Sykes/Invision/AP, File)
FILE - In this Sept. 19, 2014 file photo, Taylor Swift arrives at the iHeart Radio Music Festival in Las Vegas. NBC said Friday, Oct. 3, that the singer is serving as a mentor to competitors later this month on "The Voice." Sheâll make her first appearance on Oct. 27 (Photo by Andrew Estey/Invision/AP, File)
SYDNEY, AUSTRALIA - NOVEMBER 28: Taylor Swift performs during her '1989' World Tour at ANZ Stadium on November 28, 2015 in Sydney, Australia. (Photo by Don Arnold/WireImage)
Taylor Swift poses backstage with the awards for favorite album - country for "Red", favorite female artist - pop/rock, favorite female artist - country, and artist of the year at the American Music Awards at the Nokia Theatre L.A. Live on Sunday, Nov. 24, 2013, in Los Angeles. (Photo by Jordan Strauss/Invision/AP)
Singer Taylor Swift performs at Z100's Jingle Ball 2012 presented by Aeropostale at Madison Square Garden on Friday Dec. 7, 2012 in New York. (Photo by Evan Agostini/Invision/AP)
FILE - This April 1, 2012 file photo shows country singer Taylor Swift at the 47th Annual Academy of Country Music Awards in Las Vegas. Swift's "The Hunger Games" soundtrack entry "Safe & Sound" with The Civil Wars _ a duo happily adopted by Swift's fan base _ also is nominated for video of the year for the 2012 CMT Awards, which kicks off at 8 p.m. EDT Wednesday, June 6, from Nashville's Bridgestone Arena.. (AP Photo/Isaac Brekken)
Taylor Swift arrives at the 54th annual Grammy Awards on Sunday, Feb. 12, 2012 in Los Angeles. (AP Photo/Chris Pizzello)
Taylor Swift arrives at the 39th Annual American Music Awards on Sunday, Nov. 20, 2011 in Los Angeles. (AP Photo/Chris Pizzello)
Taylor Swift arrives at the 38th Annual American Music Awards on Sunday, Nov. 21, 2010 in Los Angeles. (AP Photo/Chris Pizzello)
Singer Taylor Swift performs her song "Story of Us", as she kicks off her Speak Now North American tour, Friday, May 27, 2011, in Omaha, Neb. (AP Photo/Nati Harnik)
Taylor Swift at the Curb Event Center at Belmont University in Nashville, Tennessee (Photo by John Shearer/WireImage)
NASHVILLE, TN - NOVEMBER 06: Singer Taylor Swift attends the 40th Annual CMA Awards at the Gaylord Entertainment Center November 6, 2006 in Nashville, Tennessee. (Photo by Scott Gries/Getty Images)
NASHVILLE, TN - APRIL 16: Singer Taylor Swift accepts the award for 'Breakthrough Video of the Year' for the song 'Tim McGraw' onstage at the 2007 CMT Music Awards at the Curb Event Center at Belmont University April 16, 2007 in Nashville, Tennessee. (Photo by Peter Kramer/Getty Images)
Taylor Swift sings "Picture To Burn" during the CMT Music Awards Monday, April 14, 2008, in Nashville, Tenn. (AP Photo/Jeff Christensen)
Taylor Swift arrives at "The Grammy Nominations Concert Live" in Los Angeles on Wednesday Dec. 3, 2008. (AP Photo/Matt Sayles)
Taylor Swift poses with the award for album of the year and the Crystal Milestone award backstage at the 44th Annual Academy of Country Music Awards in Las Vegas on Sunday, April 5, 2009. (AP Photo/Jae C. Hong)
Musician Taylor Swift arrives at the annual Pre-GRAMMY Gala presented by The Recording Academy and Clive Davis on Saturday, Jan. 30, 2010 at The Beverly Hilton Hotel in Beverly, Hills, California. (AP Photo/Chris Pizzello)
Musician Taylor Swift poses for a portrait in West Hollywood, Calif. on Wednesday, Sept. 22, 2010. Swift's new album "Speak Now" will be released on Oct. 25, 2010. (AP Photo/Matt Sayles)
Discover More Like This
BACK TO SLIDE
It's not all bad news for Swift.
"Only an original videotape will be made of Ms. Swift's deposition," rules the judge. "The original videotape shall remain in the custody of Mr. Jesse Schaudies, Ms. Swift's business manager. Plaintiff's counsel must be provided reasonable access to the videotape."
The videotaped deposition would thus only become public if there's a trial, though excerpts of transcripts could appear in summary motion papers. Until then, it will be under a protective order that will also limit what attorneys for both parties can say about the case.
In past years, a number of celebrities including Justin Bieber, Lil Wayne and Robin Thicke have suffered unflattering headlines after videos of depositions were released. Swift might have wished to avoid something like that happening. Last August, in a separate lawsuit involving trademarks, Swift furiously attempted to avoid giving a deposition, and after a judge ordered it, the case settled. None of those other lawsuits, though, involved depositions in the presence of alleged sexual offenders.