Say Rob commits a crime against Bob. Frustrated that the police won't do anything, Bob follows the private prosecution path and files a charging document against Rob.
Rob, seeing that things are getting tough, approaches Bob and offers to settle the case with a payment. Bob accepts and withdraws the charge.
Would this contract be legal and enforceable (in New Zealand)?
Also, would Bob's counteroffer amount to extortion/blackmail?