I agree with this statement, and the one after it. Motive is more than important, motive is the talk of the heart.
BUT, hearts can be shaped. Jesus, I imagine, was far beyond having motives of retribution and self-defense. He gave his life without a care for his own. While a court of law might deem something a certain way, and that's a good thing, since humans are fallible, prone to mistakes etc etc, law isn't the same as righteousness.
It would be lawful for say, a person to bring someone to court on charges of discrimination. It would be righteous not to even feel discriminated against, rather to have pity on the person for the prison of distinctions they live in.
It would be lawful, for say, a person to defend his life against an attacker, it would be utterly righteous for that same person to take a blade in the chest and put his hand on his attacker's cheek and say 'I forgive you', for the 'victim' to realize the anger that leads the blade, and have sympathy, empathy and love for his attacker.
It would be lawful for a wrongly persecuted holy man to have his followers and himself attack his persectors to save their lives, but it would be righteous for the holy man to stop the violence, knowing what it does to people, and to compassionately heal his attacker's ear and be taken on his way.
It would be lawful for a holy man to be retributive during his condemnation by Roman soldiers, but it would be righteous for him to forgive those others and to ask the same forgiveness from his God.