31. We also refer to Gian Singh vs. State of Punjab, (2012) 10 SCC 303 wherein this Court observed that where the High Court quashes a criminal proceeding having regard to the fact that the dispute between the offender and the victim has been settled, although the offences are not compoundable, it does so as in its opinion, continuation of criminal proceedings will be an exercise in futility and justice in the case demands that the dispute between the parties is put to an end and peace is restored, securing the ends of justice being the ultimate guiding factor. In this regard, a specific reference was made to offences arising out of matrimony, particularly relating to dowry, etc. or a family dispute, where the wrong is basically to the victim but the offender and the victim have settled all disputes between them amicably, irrespective of the fact that such offences have not been made compoundable. The High Court may, within the framework of its inherent power, quash the criminal proceeding or criminal complaint or FIR if it is satisfied that on the face of such settlement, there is hardly any likelihood of the offender being convicted and by not quashing the criminal proceedings, justice shall be casualty and ends of justice shall be defeated.”