Should it be relevant though? It seems to me like criminalization of thoughts. Even if they externalized into a diary.
If you write in your diary "I'm gonna kill her" and then she gets killed it's relevant
Depends, if you wrote a detailed confession with material non public facts, a jury can hear it and weigh the evidence.
If you write in your diary "I'm gonna kill her" and then she gets killed it's relevant