We should keep in mind that the ego is not completely analogous with consciousness;
Freud argues at various places that there exists an unconscious of the ego and
an unconconscious of the super-ego even as there is an unconscious element to
the id: "If... we are faced with the case where the patient under analysis
is not conscious of his resistance, then it must be either that the super-ego
and ego can operate unconsciously in quite important situations, or, which would
be far more significant, that parts of both ego and super-ego themselves are unconscious.
In both cases we should have to take account of the disturbing view that the ego
(including the super-ego) does not by any means completely coincide with the conscious,
nor the repressed with the unconscious" ("New Introductory Lectures"