Firstly you cannot punish your father in law, your duty is completed after lodging the complaint.
The police only will prosecute the case.
If it is non compoundable then you cannot even compromise and withdraw.
Besides, no such agreements is valid or enforceable in law.
Therefore instead of trying such options better allow the case to continue in the same status, let the court decide the fate.