When someone sins and does any of the things that the Lord has forbidden, even if he does not realize he did it, he has still committed an offense and must bear his guilt.
Trust wholeheartedly in the Lord rather than relying on your own intelligence. In everything you do, acknowledge him, and he will see that your paths are straight.