False militancy case: Court reprimands police