The Interpretation of Dreams by Sigmund Freud Chapter 3 Page 22

makes the dream pictures believable, saying, as it were, “Quite right, but let me sleep.” The contempt which, once awakened, we bear the dream, and which rests upon the absurdity and apparent illogicality of the dream, is probably nothing but the reasoning of our sleeping ego on the feelings about what was repressed; with greater right it should rest upon the incompetency of this disturber of our sleep.

In sleep we are now and then aware of this contempt; the dream content transcends the censorship rather too much, we think, “It's only a dream,” and sleep on.

It is no objection to this view if there are borderlines for the dream where its function, to preserve sleep from interruption, can no longer be maintained — as in the dreams of impending dread. It is here changed for another function —