Crimes may depend upon context
sometimes breaking the law can be seen as a good thing.
If a law is unfair,protesting against it or intentionally breaking it might be seen as more moral than following it.
Eg- Gandhi,broke rules he thought were unjust,he got arrested several times,according to the laws at the tmie he was a criminal.However today very few people would argue that Gandhi should be considered a criminal