http://www.sfsuperiorcourt.org/divisions/traffic/red-light
(There are more, contradictory instructions that they mail out with the ticket)
Their database of car registrations is not regularly synced with the DMV, so they routinely send citations to people that do not own the car in question.
There is no process for "the bureaucracy screwed up", so they won't accept a copy of the liability transfer reciept as proof you are no longer liable (nor will they simply contact the DMV).
Of course, since you have no idea what the new owner is up to, you can't provide the information required to contest the ticket.
At this point, things get progressively more bizarre.