Senior police officer reinstated after sacking for unsolicit