Whether dealing with organic brains in humans and animals or dealing with artificial intelligent systems, we must consider cognitive strategies to delete or subdue certain memories, observations or experiences to insure optimal function and completion of assigned task. For instance if a soldier comes back from the war and he has shell shock syndrome we need to be careful that it does not rear its ugly head in the middle of a restaurant with his family.
If an artificial intelligent robot has been assigned to tasks by an unethical human due to a character flaw in the human