(e)On all occasions on which an officer is on duty, e.g., during inspections, investigations of cases, enquiries, conferences, when attending Court to give evidence, etc.; provided that no officer need wear uniform when for the purpose of detection it is necessary for him to conceal his identity.