V. Stiviano went to the LA County Courthouse in connection with a 2012 drunken-driving arrest during which actor Brandon Mychal Smith, who is black, was in the passenger seat, TMZ reported.

Stiviano — who legally changed her name from Maria Vanessa Perez in 2010 — was reportedly behind the wheel of a red Ferrari that was a gift from Sterling.

The same sports car is a subject of a lawsuit brought by Sterling’s estranged wife, Rochelle “Shelly” Sterling, who’s demanding the return of about $2 million in cash and gifts that her hubby showered on the much younger woman.

Stiviano, 31, is still on probation for DUI and had to appear in court to prove she had completed a sentence of community service, TMZ reported.

A spokeswoman for the LA District Attorney’s Office said she couldn’t confirm that report and had “no idea” why Stiviano was at the courthouse.