For the poor, legality isn't much of an issue, they have to worry about - they don't have the privilege to be worried about legality, they're at the bottom rung of class, and have no lower to go. Whereas for the upper class, they needn't worry with morality, only legality