Chris Pizzello/Invision/AP 1 / 15
Chris Pizzello/Invision/AP 1 / 15

WENN

Ryan O'Neal is heading to court to do battle over an Andy Warhol portrait of his late partner Farrah Fawcett after a judge rejected the actor's bid to dismiss the lawsuit against him.

RELATED: Ryan O'Neal wore Farrah Fawcett t-shirt on anniversary of her death

Officials at the University of Texas claim the silkscreen, which is valued at around $30 million, is rightfully theirs after the "Charlie's Angels" star reportedly left her entire art collection to the institution following her death in 2009.

RELATED: Ryan O'Neal: 'Farrah Fawcett died in my arms'

The piece is one of two Fawcett portraits by Warhol -- one is hanging in the university's gallery, while O'Neal claims the disputed picture was given to him by the artist, who was a close friend.

RELATED: Hottest Action Stars

University officials filed suit against the star and the case went to court in Los Angeles this week. On Wednesday, Superior Court judge Maureen Duff-Lewis rejected O'Neal's motion to dismiss and she ordered the case to go to trial next month, according to Celebuzz.com.