To disobey Christ is to doubt the veracity of His words and commandments. How can you be in a strong friendship without agreement?

This statement was not to condemn but to inform His disciples.

We are not friends of Jesus through compulsion but by conformity.

If we are friends of Jesus it will be by virtue of His Word and His HolySpirit abiding in us. In this state we are in agreement, we are in fellowship, we are of one mind.