Attorney general's consent for criminal proceedings