Act done by person justified by law.
Section 45, Penal Code (FCT) · Penal Code (FCT) (as enacted)
What Penal Code (FCT) says
Nothing is an offence which is done by a person who is justified by law, or who by reason of a mistake of fact and not by reason of a mistake of law, in good faith believes himself to be justified by law in doing it. Illustrations. (a) A an officer of a court of justice being ordered by that court to arrest Y and after due enquiry believing Z to be Y arrests Z. A has committed no offence. (b) A sees Z commit what appears to A to be culpable homicide. A in the exercise to the best of his judgment exerted in good faith of the power which the law gives to all persons of arresting murderers seizes Z in order to bring him before the proper authorities. A has committed no offence, though it may turn out that Z was acting in self defence.
Penal Code (FCT): As enacted, may have been amended.
Original source
Retyped copy held in the ILGA legislation database, circulated by the jewngr blog · Penal Code Act, Chapter 532, Laws of the Federal Capital Territory, Abuja (retyped copy, sections 197 to 212, 364, 365 and 410 to 477 absent) · printed page 33. Original document
Release: composite-2026-11-06-twenty-laws. Source scope, review and corrections