Summary Offences Act 1981, s 23
Intervening to prevent the police arresting someone else could amount to the offence of obstructing the police.
Cases: R v Thomas [1991] 3 NZLR 141 (CA)
However, you may have a defence to this charge if you honestly believed that the police were using excessive force.