Sentence:  It means to <WSD>do</WSD> it and to know one is doing it , but as only a secondary if certain effect of the good one primarily does and intends . 
Meaning of the word marked with <WSD> tags:  engage in