and what were admitted could only be determined after an affidavit-in-reply was filed by the State. The High Court, however, proceeded to dismiss the petition in limine. The High Court is not deprived of its jurisdiction to entertain a petition under Article 226 merely because in considering the petitioner's right to relief questions of fact may fall to be determined. In a petition under Article 226 the High Court has jurisdiction to try issues both of fact and law. Exercise of the jurisdiction is, it is true, discretionary, but the discretion must be exercised on sound judicial principles. When the petition raises questions of fact of a complex nature, which may for their determination require oral evidence to be taken, and on that account the High Court is of the view that the dispute may not appropriately be tried in a writ petition, the High Court may decline to try a petition. Rejection of a petition in limine will normally be justified, where the High Court is of the view that the petition is frivolous or because of the nature of the claim made dispute sought to be agitated, or that the petition against the party against whom relief is claimed is not maintainable or that the dispute raised thereby is such that it would be inappropriate to try it in the writ jurisdiction, or for analogous reasons.