By extension, if it were fully illegal, then this would be a good time to check whether the law needs updating. Laws are not commandments. Saying something like it doesn't matter whether it's wrong or right "it's the law", misunderstands what law is.