Was lying to the NAZI authorities during WWII constitute sin?

Person A picks up a Jewish person in Poland during WWII. NAZI authorities come and ask Person A if he/she is keeping any Jewish people. Person A replies “No way” and the NAZI authorities leave. Person A has lied which is a sin. Would Person A have to confess this sin or is his/her action morally neutral.

This link should be give you the answer you need. If you have any further questions or concerns that are not answered by this link, please contact Catholic Answers directly.
Recommended Reading:
]Is it always a sin to lie?
Is it okay to lie under certain circumstances?**
]* Can I lie to keep family peace?**
]%between%Can I lie to my mother who has Alzheimer’s Disease?
Is it okay to lie in order to prevent an abortion?**
]* Are little white lies a sin?**
]* Is it always a sin to lie?**
]* At what point does lying become a mortal sin?**
]* Did I sin?**
]* Did Jesus lie?**
]* Is it lying if you unknowingly say something that isn’t true?**
]* Can circumstances change morality?**
]* Can you reserve the truth?**
]* Is it lying to tell kids there is a Santa?**
]* What about lying in undercover work?**

DISCLAIMER: The views and opinions expressed in these forums do not necessarily reflect those of Catholic Answers. For official apologetics resources please visit www.catholic.com.