Recovery of a judgment for a penalty or forfeiture obtained by collusion between the plaintiff and defendant with intent to save the defendant wholly or partially from the consequence contemplated by law in cases where penalty or forfeiture is given wholly or partly to the person who prosecutes, does not bar the recovery of a penalty or forfeiture by another person in a separate action.