IPC2BNSConverter

BNS Section 17 · Deep dive

BNS Section 17: Act Done by a Person Justified by Law (the Conduit Section, and What Raj Kapoor Actually Decided)

BNS Section 17 provides that 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 a mistake of law in good faith believes himself to be justified by law. It is word-for-word IPC s. 79, illustration included. The key to the section is that it is a conduit rather than a free-standing defence: it has no content of its own, and takes a justification existing elsewhere in the law and converts it into a complete answer to a criminal charge. In Raj Kapoor v. Laxman Krishna Iyer J put it that if the act is justified by law, "i.e. by some other provision", s. 79 exonerates the doer because the act ceases to be an offence: "Section 79 makes an offence a non-offence. When? Only when the offending act is actually justified by law or is bona fide believed by mistake of fact to be so justified." The illustration is more generous than it looks: a private person who seizes an apparent murderer is protected even though it turns out the person seized was acting in self-defence, so the justification is tested on the facts as carefully and honestly understood, and no offence need actually have been committed. Good faith under s. 2(11) is a standard of due care and attention, which is why the illustration requires the actor to have acted "to the best of his judgment exerted in good faith". Raj Kapoor held that a censor certificate under s. 5A of the Cinematograph Act, 1952 brings s. 79 into play against a prosecution under IPC s. 292, the Penal Code being general and the Cinematograph Act special, and quashed the prosecution, but it protected the producer "at least in view of their bona fide belief that the certificate is justificatory", expressly leaving aside the "fine semantic shade" between a permissive statutory sanction and an active legal justification. Section 17 is wider in practice than s. 14, since entitlements are commoner than obligations.

By the Nyaya Yantra Editorial TeamLaw checked as of 2 October 2026 22 min read

Prepared with AI-assisted research from the official sources listed at the end of this article.

At a glance

Provision
BNS Section 17 — Act done by a person justified, or by mistake of fact believing himself justified, by law
Earlier law (IPC)
Section 79 — Act done by a person justified, or by mistake of fact believing himself justified, by law · substantively unchanged
Section 52 — "Good faith" · renumbered
Side-by-side converterIPC 79 → BNS 17

What the section says

Section 17 of the Bharatiya Nyaya Sanhita, 2023 reads in full: S1S2

17. Nothing is an offence which is done by any 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.

Illustration.

A sees Z commit what appears to A to be a murder. 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 apprehending murderers in the fact, seizes Z, in order to bring Z before the proper authorities. A has committed no offence, though it may turn out that Z was acting in self-defence.

The official marginal-note title is "Act done by a person justified, or by mistake of fact believing himself justified, by law." S2

Section 17 is a conduit, not a free-standing defence

This is the single most important thing to understand about the section, and it is the point the Supreme Court made most clearly.

Section 17 does not itself justify anything. It has no content of its own. What it does is take a justification that exists somewhere else in the law and convert it into a complete answer to a criminal charge. In Raj Kapoor v. Laxman, Krishna Iyer J put it this way: S6

The argument is irresistible that if the performance of the act which constitutes the offence is justified by law, i.e. by some other provision, then Section 79 exonerates the doer because the act ceases to be an offence.

So the first question under s. 17 is never "does s. 17 protect this?" It is "is there some other provision of law that justifies this act?" If there is, s. 17 does the rest. If there is not, the first limb fails and only the mistake-of-fact limb remains.

The same judgment states the effect in a sentence worth memorising: S6

Section 79 makes an offence a non-offence. When? Only when the offending act is actually justified by law or is bona fide believed by mistake of fact to be so justified.

The two limbs

Limb 1: actually justified by law. The act was in truth warranted by law. No question of belief arises.

Limb 2: mistaken but good-faith belief in justification. The person was not in fact justified, but by reason of a mistake of fact, and not a mistake of law, in good faith believed himself to be justified.

As in ss. 14 and 15, the exclusion of mistake of law is a real limitation. A person who knows every relevant fact but is wrong about whether the law permits his act gets nothing from limb 2.

And good faith is a standard of care. Section 2(11) defines it negatively: S1

"good faith".—Nothing is said to be done or believed in "good faith" which is done or believed without due care and attention;

So a careless belief in one's own justification is excluded, however sincere. The definition reproduces IPC s. 52 unchanged. S4 The illustration reflects this: A acts "to the best of his judgment exerted in good faith". The words are a condition, not decoration.

What "justified" means

In Raj Kapoor the Court addressed the word directly, adopting dictionary senses: "Justified" in Black's Legal Dictionary meaning "[d]one on adequate reasons sufficiently supported by credible evidence, when weighed by unprejudiced mind, guided by common sense and by correct rules of law", and the Shorter Oxford English Dictionary sense of "justification" as "[t]he showing in court that one had sufficient reason for doing that which [one] is called to answer". The Court's own formulation was: S6

An act is justified by law if it is warranted, validated and made blameless by law.

The illustration, and why it is more generous than it looks

The illustration is worth reading twice. A sees what appears to be a murder, seizes Z to bring him before the authorities, and it turns out Z was acting in self-defence. So on the true facts, Z committed no offence at all. There was nobody to arrest.

A is nevertheless protected. That tells us two things:

  1. The justification is tested on the facts as A carefully and honestly understood them, not on the facts as they turn out to be. Limb 2 is doing the work.
  2. The protection does not depend on an offence actually having been committed by the person seized.

What it does depend on is that A was exercising "the power which the law gives to all persons of apprehending murderers in the fact" (that is, a power that genuinely exists in law) and that he did so to the best of his judgment exerted in good faith, and for the proper purpose of bringing Z before the proper authorities. The illustration does not protect a private seizure for some other purpose, and it does not protect a seizure by someone who had no basis for thinking an offence was being committed.

A caution: the illustration refers to the power of private apprehension in general terms. The scope of that power is governed by the Bharatiya Nagarik Suraksha Sanhita, 2023, which was not examined for this article, and nothing is asserted here about the present extent of any power of arrest by a private person.

The authority: Raj Kapoor v. Laxman

The leading Supreme Court decision on this provision is Raj Kapoor v. Laxman, 14 December 1979, reported at AIR 1980 SC 605, (1980) 2 SCC 175, (1980) 2 SCR 512 and 1980 Cri LJ 436. The Bench was R. S. Pathak and V. R. Krishna Iyer JJ, the judgment delivered by Krishna Iyer J. S6

The facts. A complainant alleged that a film was obscene, constituting an offence under IPC s. 292. The Magistrate took cognizance and issued notice. The producer moved the High Court under CrPC s. 482 to quash, relying on the fact that the film had been granted an 'A' certificate by the Central Board of Film Censors. The High Court dismissed the petition. The producer came to the Supreme Court on a single point: whether a certificate under s. 5A of the Cinematograph Act, 1952 furnishes a justification in law such that s. 79 neutralises s. 292.

The reasoning. The Court held that the Penal Code is general and the Cinematograph Act special, and that the Board under s. 5B of that Act must consider, before certification, all the points that s. 292 prescribes. Hence: S6

…once the special law polices the area it [is] pro tanto out of bounds for the general law. At least as a matter of interpretation, Section 79 I.P.C. resolves the apparent conflict between Section 292 I.P.C. and Part II of the Act relating to certification of films.

The Court asked rhetorically whether, after Parliament had enacted a scheme with an expert Board, hearings, appeals and judicial review, "a certificate granted under it by expert authority can be stultified by a simple prosecution or a shower of prosecutions for an offence under Section 292 I.P.C., driving the producer to satisfy a 'lay' magistrate that the certificate of the Board of Censors notwithstanding, the film was offensive".

The conclusion and disposition. Paragraph 9: S6

If, as here, the Board of Censors, acting within their jurisdiction and on an application made and pursued in good faith, sanctions the public exhibition, the producer and connected agencies do enter the statutory harbour and are protected because Section 79 exonerates them at least in view of their bona fide belief that the certificate is justificatory… In the present case, the prosecution is unsustainable because Section 79 is exculpatory when read with Section 5A of the Act and the certificate issued thereunder. We quash the prosecution.

The Court also indicated the procedural consequence: a trial court apprised of the certificate may, if the case "fills the bill under Section 79", rightly discharge the accused as the charge is groundless.

A nuance the headnotes tend to lose

The Court did not finally decide which of the two limbs the certificate engages. Earlier in the judgment it noticed a "fine semantic shade between mere legal sanction, which is passive, and clear legal justification which is active", acknowledged that "it may be plausible to say that what is merely certified as suitable for show by a law may not go the length of holding that it is justified by law", and then said: "Such niceties need not deter us once we grasp the sweep of the Cinematograph Act." S6

Consistently with that, the operative sentence protects the producer "at least in view of their bona fide belief that the certificate is justificatory": language that rests the result on limb 2 without foreclosing limb 1. So Raj Kapoor is firm authority that a censor certificate brings s. 79 into play and defeats a s. 292 prosecution; it is not a decision that a statutory permission is always "justification" within the first limb. That question was expressly left on one side.

The judgment also records that in an earlier appeal from the Delhi High Court concerning the same film s. 79 had not been considered because the point was not urged, and that "[t]he present decision will bind the court that hears that case." The judgment refers to K. A. Abbas v. Union of India on pre-censorship as a valid classification; that decision was not separately examined for this article and is mentioned only as a case to which Raj Kapoor refers.

Comparison with IPC Section 79

BNS s. 17 and IPC s. 79 were compared word by word after whitespace normalisation, using the India Code text of s. 17 as well as the Gazette text. The main provision (46 words) and the illustration (69 words) are identical in both cases. S1S2S4

IPC s. 79BNS s. 17
Main provision—identical (46 words)
Illustration—identical (69 words)
Marginal title"Act done by a person justified, or by mistake of fact believing himself justified, by law"same, with a full stop
"Good faith" defined ats. 52s. 2(11), same words
Applies to special/local law offencesyesyes: s. 2(24)(a) names Chapter III
Classification—substantively unchanged; renumbered

This is the cleanest carry-over in Chapter III so far: unlike s. 14 (where illustration (b) changed "Court of Justice" to "Court") and s. 16 (title, tribunal name and a semicolon), nothing in s. 17 changed at all. The consequence is that authority on IPC s. 79, including Raj Kapoor, applies to s. 17 without any textual qualification.

Section 17 and Section 14: justified against bound

BNS s. 14 (← IPC s. 76)BNS s. 17 (← IPC s. 79)
Operative wordbound by lawjustified by law
Naturea legal obligation to acta legal entitlement to act
Limb 2 beliefbelieves himself boundbelieves himself justified
Illustrationsoldier obeying a lawful order; officer arresting the wrong man after due enquiryprivate person apprehending an apparent murderer who turns out to have acted in self-defence

Section 17 is the wider of the two in practice, because entitlements are far more common than obligations. Most conduct that the law permits but does not compel (exercising a statutory power, acting under a licence or certificate, doing what a special enactment authorises) runs through s. 17 rather than s. 14.

Two chapter-wide rules apply, as throughout Chapter III:

  • Scope. Section 2(24)(a) names Chapter III first among the provisions in which "offence" means a thing punishable under the Sanhita or under any special law or local law, so s. 17 is available on a prosecution under a special or local enactment. S1
  • Burden of proof. Under the Bharatiya Sakshya Adhiniyam, 2023, s. 108, the burden of proving circumstances bringing a case within a General Exception is on the accused, "and the Court shall presume the absence of such circumstances". S5 Raj Kapoor reflects this framing: "The chapter on General Exceptions operates in this province." S6

Worked examples

1. Acting under a statutory certificate or licence. A person exhibits a film certified by the Board of Censors and is prosecuted for obscenity. On Raj Kapoor, s. 17 is engaged and the prosecution is unsustainable; the trial court may discharge the accused as the charge is groundless. S6

2. A private person apprehends an apparent offender. The illustration: the seizure is protected if the power relied on genuinely exists in law and the belief that the circumstances called for it was formed to the best of the actor's judgment exerted in good faith, even if it turns out that no offence was committed.

3. The same seizure, made casually. If the belief was formed "without due care and attention", limb 2 fails under s. 2(11), and limb 1 fails because the facts did not justify the act.

4. The same seizure, for a different purpose. The illustration requires the seizure be "in order to bring Z before the proper authorities". A seizure to settle a private score is not within it.

5. A mistake about the law. A person knows exactly what the facts are but wrongly believes the law permits what he is doing. Limb 2 is expressly unavailable, mistake of law being excluded.

6. No justifying provision anywhere. If nothing in the law justifies the act, limb 1 cannot operate, because s. 17 has no content of its own. There must be "some other provision". Only limb 2 remains, and only if there was a mistake of fact.

7. A prosecution under a special enactment. Section 17 remains available by force of s. 2(24)(a), and the accused bears the burden under BSA s. 108.

Common mistakes

  1. Treating s. 17 as a free-standing defence. It is a conduit. The justification must come from some other provision of law; s. 17 converts it into a complete answer.
  2. Confusing s. 17 with s. 14. Section 14 is about being bound; s. 17 is about being justified: obligation against entitlement.
  3. Relying on a mistake of law. Excluded in terms.
  4. Treating good faith as honesty. Section 2(11) requires due care and attention.
  5. Overlooking "to the best of his judgment exerted in good faith" in the illustration. It is an operative condition.
  6. Assuming the illustration requires an offence to have been committed. It does not: it expressly covers the case where Z turns out to have acted in self-defence.
  7. Citing Raj Kapoor as deciding that a statutory permission is always "justification" under limb 1. It did not. It noted the "fine semantic shade" between permissive and justificative, said such niceties need not detain it, and protected the producer "at least" on the bona fide belief limb.
  8. Citing Raj Kapoor without its procedural point. The Court quashed the prosecution and indicated that a trial court apprised of the certificate may discharge the accused as the charge is groundless.
  9. Assuming the prosecution must disprove the exception. Under BSA s. 108 the burden is on the accused.
  10. Assuming the BNS changed this provision. Section 17 is word-for-word IPC s. 79, illustration included.

Status of authority

No judgment on BNS s. 17 was located; the section has been in force only since 1 July 2024 under notification S.O. 850(E) dated 23 February 2024. S3

Unlike ss. 15 and 16, where no authority squarely on the predecessor provision was located and no case was cited, s. 17 has directly applicable Supreme Court authority. Because BNS s. 17 reproduces IPC s. 79 exactly, main provision and illustration alike, and because s. 2(11) reproduces IPC s. 52, Raj Kapoor applies to s. 17 without textual qualification. It should nevertheless be cited as what it is: a 1979 decision on IPC s. 79 and IPC s. 292, read with s. 5A of the Cinematograph Act, 1952.

No attempt has been made to survey the whole body of authority on IPC s. 79, which is substantial. One Supreme Court decision squarely construing the section was located and verified in full, including its facts, reasoning, the limb on which it rested, and its disposition. Nothing is asserted about cases not examined. The Cinematograph Act, 1952 and the Bharatiya Nagarik Suraksha Sanhita, 2023 were not examined; ss. 5A and 5B of the former are described only as the judgment describes them.

  • BNS s. 2(11): definition of "good faith": due care and attention.
  • BNS s. 2(24): definition of "offence", extending Chapter III to special and local law offences.
  • BNS s. 14: Act done by a person bound by law: the "bound" counterpart to this section's "justified".
  • BNS s. 15: Act of a Judge when acting judicially.
  • BNS s. 16: Act done pursuant to the judgment or order of a Court.
  • BNS s. 18: Accident in doing a lawful act.

Law checked as of 2 October 2026. The text of s. 17 was read both from the Gazette of India publication of the Bharatiya Nyaya Sanhita, 2023 hosted by the Ministry of Home Affairs and from the India Code entry for the section, and was compared with IPC s. 79 by programmatic word-level diff: the main provision and the illustration are identical. BNS ss. 2(11) and 2(24)(a) and IPC ss. 79 and 52 were read directly, and the Bharatiya Sakshya Adhiniyam, 2023 was read for s. 108. Raj Kapoor v. Laxman was read in full from a judgment-text repository, including its facts, the passages on s. 79 and on the general/special law relationship, the paragraph 9 conclusion and the disposition; the official report was not accessible at the time of checking, and the citations given are those appearing in that text. The Cinematograph Act, 1952, the Bharatiya Nagarik Suraksha Sanhita, 2023 and K. A. Abbas v. Union of India were not examined and are described only as Raj Kapoor describes them.

This article is for education and general information. It is AI-assisted and has not been reviewed, verified or approved by a lawyer. It is not legal advice and must not be relied on for any actual case. Verify the current position and take advice from a qualified advocate before acting.

Frequently asked questions

+What does BNS Section 17 do?
It provides that an act is not an offence if the person doing it was justified by law, or if by reason of a mistake of fact, and not a mistake of law, he in good faith believed himself to be justified by law. It applies to any person, and it comes with an illustration about a private person apprehending an apparent murderer. S1S2
+Is Section 17 a defence in itself?
No, and this is the most important point about it. Section 17 has no content of its own. It is a conduit. It takes a justification that exists somewhere else in the law and converts it into a complete answer to a criminal charge. As Krishna Iyer J put it in Raj Kapoor v. Laxman, if the act which constitutes the offence "is justified by law, i.e. by some other provision, then Section 79 exonerates the doer because the act ceases to be an offence". So the first question is never whether s. 17 protects the act, but whether some other provision of law justifies it. S6
+What is the difference between Section 14 and Section 17?
One word. Section 14 is about being bound by law: a legal obligation to act. Section 17 is about being justified by law: a legal entitlement to act. Both have an actual-state limb and a mistake-of-fact-in-good-faith limb, and both exclude mistake of law. Section 17 is the wider of the two in practice, because entitlements are far more common than obligations: most conduct the law permits but does not compel (exercising a statutory power, acting under a licence or certificate, doing what a special enactment authorises) runs through s. 17 rather than s. 14. S1
+What does "justified" mean?
In Raj Kapoor the Court addressed the word directly, adopting Black's Legal Dictionary sense of "justified" as "[d]one on adequate reasons sufficiently supported by credible evidence, when weighed by unprejudiced mind, guided by common sense and by correct rules of law", and the Shorter Oxford English Dictionary sense of "justification" as showing in court that one had sufficient reason for the act. The Court's own formulation was that "[a]n act is justified by law if it is warranted, validated and made blameless by law". S6
+Why is the illustration to Section 17 significant?
Because of how it ends. A seizes Z believing Z has committed murder, and it turns out Z was acting in self-defence, so on the true facts Z committed no offence and there was nobody to arrest. A is still protected. That shows the justification is tested on the facts as the actor carefully and honestly understood them rather than as they turn out to be, and that the protection does not require an offence actually to have been committed. What it does require is that the power relied on genuinely exists in law, that the actor acted "to the best of his judgment exerted in good faith", and that he acted for the proper purpose of bringing the person before the proper authorities. S1
+What does "good faith" require here?
Due care and attention, not merely honesty. Section 2(11) defines good faith negatively: nothing is said to be done or believed in good faith which is done or believed without due care and attention. So a careless belief in one's own justification is excluded however sincerely held, which is why the illustration specifies that A acted to the best of his judgment exerted in good faith. The definition reproduces IPC s. 52 without change. S1S4
+What did Raj Kapoor v. Laxman decide?
A complainant alleged a film was obscene under IPC s. 292; the Magistrate took cognizance; the producer sought to quash on the ground that the film held an 'A' certificate from the Central Board of Film Censors. The Supreme Court (R. S. Pathak and V. R. Krishna Iyer JJ, judgment by Krishna Iyer J, 14 December 1979) held that the Penal Code is general and the Cinematograph Act, 1952 special, that the Board under s. 5B must consider before certification all the points s. 292 prescribes, and that "once the special law polices the area it [is] pro tanto out of bounds for the general law". It concluded that the prosecution was unsustainable because s. 79 is exculpatory when read with s. 5A of the Act and the certificate issued thereunder, and quashed the prosecution. It added that a trial court apprised of the certificate may, if the case fills the bill under s. 79, rightly discharge the accused as the charge is groundless. S6
+Did Raj Kapoor decide that a statutory permission is always "justification" under the first limb?
No, and headnotes tend to lose this. The Court noticed a "fine semantic shade between mere legal sanction, which is passive, and clear legal justification which is active", acknowledged it "may be plausible to say that what is merely certified as suitable for show by a law may not go the length of holding that it is justified by law", and then said "[s]uch niceties need not deter us once we grasp the sweep of the Cinematograph Act". Consistently with that, its operative sentence protects the producer "at least in view of their bona fide belief that the certificate is justificatory": resting the result on the second limb without foreclosing the first. So it is firm authority that a censor certificate brings s. 79 into play and defeats a s. 292 prosecution, but not a decision on whether a statutory permission always amounts to justification within limb 1. S6
+Does Section 17 apply to offences under special laws, and who must prove it?
It applies. Section 2(24)(a) names Chapter III first among the provisions in which "offence" means a thing punishable under the Sanhita or under any special law or local law. As to proof, under the Bharatiya Sakshya Adhiniyam, 2023, s. 108, the burden of proving circumstances bringing the case within a General Exception is on the accused, and the Court shall presume the absence of such circumstances. Raj Kapoor reflects this framing in observing that "[t]he chapter on General Exceptions operates in this province". S1S5S6
+Did the BNS change IPC Section 79?
Not at all. The main provision (46 words) and the illustration (69 words) are both identical, confirmed by programmatic diff against two independently retrieved texts of s. 17, and the marginal title is unchanged apart from a terminal full stop. This is the cleanest carry-over in Chapter III so far: s. 14's illustration (b) changed "Court of Justice" to "Court", and s. 16 changed its title, the tribunal's name and a comma to a semicolon. The practical consequence is that authority on IPC s. 79 applies to s. 17 without any textual qualification. S1S2S4
+Is there case law that applies to BNS Section 17?
Yes: unlike ss. 15 and 16, where no decision squarely on the predecessor provision was located and no case was cited. No judgment on BNS s. 17 itself was located, the section having been in force only since 1 July 2024 under notification S.O. 850(E) dated 23 February 2024, but Raj Kapoor v. Laxman is directly applicable because s. 17 reproduces IPC s. 79 exactly. It should be cited as what it is: a 1979 decision on IPC s. 79 and IPC s. 292 read with s. 5A of the Cinematograph Act, 1952. No attempt was made to survey the whole body of authority on IPC s. 79, which is substantial; one Supreme Court decision squarely construing the section was located and verified in full, and nothing is asserted about cases not examined. S3S6

Sources

  1. S1The Bharatiya Nyaya Sanhita, 2023 (Act No. 45 of 2023) — The Gazette of India, Extraordinary, Part II—Section 1, No. 53, New Delhi, 25 December 2023 (CG-DL-E-25122023-250883), as hosted by the Ministry of Home Affairs (accessed 2 October 2026)
  2. S2India Code (official repository of Central legislation, Legislative Department, Ministry of Law and Justice) — The Bharatiya Nyaya Sanhita, 2023, Section 17 (accessed 2 October 2026)
  3. S3Ministry of Home Affairs Notification S.O. 850(E), New Delhi, dated 23 February 2024 — The Gazette of India, Extraordinary, Part II—Section 3—Sub-section (ii), No. 811, 24 February 2024 (CG-DL-E-24022024-252353) (accessed 2 October 2026)
  4. S4The Indian Penal Code, 1860 (Act No. 45 of 1860), official text with amendment footnotes as maintained on India Code (accessed 2 October 2026)
  5. S5The Bharatiya Sakshya Adhiniyam, 2023 (Act No. 47 of 2023) — The Gazette of India, Extraordinary, Part II—Section 1, New Delhi, 25 December 2023 (CG-DL-E-25122023-250882), as hosted by the Ministry of Home Affairs (accessed 2 October 2026)
  6. S6Raj Kapoor v. Laxman — Supreme Court of India, 14 December 1979, Bench of R. S. Pathak and V. R. Krishna Iyer JJ, judgment delivered by Krishna Iyer J. Citations as recorded in the judgment text consulted: AIR 1980 SC 605; (1980) 2 SCC 175; (1980) 2 SCR 512; 1980 Cri LJ 436. Full judgment text consulted on Indian Kanoon; official report not accessible at the time of checking. (accessed 2 October 2026)

Related deep dives

← All BNS section deep dives