SAN FRANCISCO — A California appeal court has reversed a judgment against State Farm General Insurance Co. in the case of a man who drunkenly punched a friend in the groin.

In an opinion published today, Los Angeles’ Second District Court of Appeal held that the act was deliberate and therefore doesn’t qualify as an accident.