The Interpretation of Dreams by Sigmund Freud Chapter 8 Page 45

In the most favorable case the development of pain terminates as soon as the energy has been withdrawn from the thoughts of transference in the Forec., and this effect characterizes the intervention of the principle of pain as expedient.

It is different, however, if the repressed unconscious wish receives an organic enforcement which it can lend to its thoughts of transference and through which it can enable them to make an effort towards penetration with their excitement, even after they have been abandoned by the occupation of the Forec. A defensive struggle then ensues, inasmuch as the Forec. reinforces the antagonism against the repressed ideas, and subsequently this leads to a penetration by the thoughts of transference (the carriers of the unconscious wish) in some form of compromise through symptom