there are seven circumstances in which FIR can be quashed and set aside as decided by the Hon'ble Supreme Court of India, in State of Harayana and others - versus - Ch. Bhajan Lal and others, reported in 1992 AIR 604.
Please readout the Judgment, will get ur answer, specifically.
Thank you for the concern sir.
One of those grounds is "Where there is an express legal bar engrafted in any of the provisions of the Code or the
concerned Act (under which a criminal proceeding is instituted) to the institution and continuance of the proceedings and/or where there is a specific provision in the Code or the concerned Act, providing efficacious redress for the grievance of the aggrieved party. "