In my case , though it is very small offence but falls under criminal case. and since charge sheet is not filed, it is not under jurisdiction of any specific court or judge. Hence i am not sure from where to take permissions / or NOC . Also can apply for pass port ? if yes should i click on yes or No in Column asking for " ANY CRIMINAL PROCEEDING PENDING AGAINST APPLICANT".
If FIR has been registered then the police station coming under a magistrate court shall be the trial court in your case.
For applying for passport, you dont need NOC, but it becomes your duty to fill up the columns in the application with facts.
You may tick yes in that column and give details.