I would then say an example would be to find out you ate dog.
You said immoral, how so?
I am not saying that eating non-kosher by mistake is immoral.
Eating dog isn't considered immoral, and is accepted in some cultures.
I am comparing it to a mundane act innocently done, which later on is discovered to be really (almost objectively, but definitely in your own eyes and culture) wrong.