Sounds like it was handled poorly all around. What isn't acceptable or excusable is anyone coming onto the court from the stands. How about the two principals getting on the PA system and warning everyone to remain in the stands and that anyone interrupting the game would be subject to expulsion and or arrest?
I'm happy to say the vast majority of refs in San Francisco, the Peninsula and South Bay are good. Some are weak, but there are more very good refs than weak ones.
I have never seen any game get out of hand and the players, coaches, administrators and refs have maintained control extremely well.
We're fortunate to have the refs we have and I let them know that frequently.