You are free to appear in court and argue that there was no possibility any of the vehicles you were passing illegally through parking spaces were going to decide to park. Absent a written statement, confirming this suspicion, from the driver of every car you passed, expect to lose.

V C Section 21750 Overtake and Pass to Left
Overtake and Pass to Left

21750. The driver of a vehicle overtaking another vehicle or a bicycle proceeding in the same direction shall pass to the left at a safe distance without interfering with the safe operation of the overtaken vehicle or bicycle, subject to the limitations and exceptions hereinafter stated.