Adam had TWO problems the moment he ate of the tree of the knowledge of good and evil.
1.) He transgressed God's commandment and became a transgressor.
How could Adam have known that he was supposed to follow God's commandments without having prior knowledge of good and evil or right and wrong?
What kind of a God would punish his subjects for not knowing what he forbids them to know?