The legend of Robin Hood is well loved. Everybody loves good triumphing over bad.
Ayn Rand questioned is Robin Hood "Good"? How can you make a hero out of a thief? He was giving to the poor that is fine but he was a thief, it was not his money to give. The robbery can not be justified just because he was giving the money to the need. The end can not justify his means.
But if the powers that be are unjust or not fair, you will have to use the means that are available to you.
They say that history is always written by the victors. I would say that history that we know is the version by the servivors. And both may not be the same.