First there is strong bias here, so we actually do not know really if it is true.
Second, lets imagine that poor people would prefer whipping instead of imprisonment (they can return to work sooner) or fine.
Should we follow the same logic here then and accept it?