Christ asked proof of our love for Him in the form of obedience to what He commanded. That is the same proof His Father asked of our first ancestor, Adam, in Eden. Love and justice walk hand in hand. Try to separate them and both will disappear. Every sin rejects God's love to some degree.
Great sins reject it entirely.
God allows that in order to be faithful to the freedom with which He endows us, and which makes us human, rather than animals compelled to do His will, and that alone. His love will follow us to our dying moment, but there in fidelity to what He has made us persons with a sovereign power to choose love can only be carried beyond in our submission to it. Our rejection at the final moment of our earthly probation can leave love behind. In other words, God's love will not violate the gates of Hell. Hell is where the individual will prevails against God's own.