 If the doctor concludes that the act was prompted by mental illness,then no complaint,investigation or prosecution shall be entertained against the person,notwithstanding anything contained in the Indian Penal Code