I always struggle with "I knew" sentences, because I'm completely incapable of understanding what tense should follow it. For example
I knew I have never been your enemy.
or
I knew I had never been your enemy.
In a situation where I'm still not this person's enemy, which tense should I use? Present perfect or past perfect?