It's bigger then justice Abdurrahman, it's love.
I will explain you this with a story.
imagine two kids growing up together who were best friends...
one went astray and became a thief.
While the other went and became a judge.
One day he saw his best friend in his court and had to convict him, and convicted him with the hardest punishment possible. because he is a just judge. But instead of letting his best friend pay for it, he steps up, and opens his wallet and pays the punishment himself out of love for his friend.
You think such a deed is satanic?