While I concede it is possible that was the intent of that line, I think there could have certainly been a better way of conveying that rather point. Particularly, they could have plainly stated "the law itself was unjust", and dropped that weird "While...".