Justification Defenses: When an Act Is No Longer a Crime
This page is a translation of the original Portuguese text, provided for convenience. It deals with Brazilian law. If there is any discrepancy, the Portuguese version prevails. Read the original in Portuguese
The same conduct that would ordinarily be a crime can be lawful when it takes place in exceptional circumstances set out in the law. The Penal Code recognizes situations in which an act, although it fits the definition of an offense, is not punished, because the legal system itself authorizes or tolerates the action. Understanding these limits helps ordinary people know when they may react, and it guides the professional building the defense.
When a Crime Ceases to Exist
For a crime to exist, it is not enough that someone engages in conduct described in the criminal law, such as killing, taking property, or damaging it. The conduct must also be unlawful, meaning contrary to the law. Fitting the definition of an offense (tipicidade) is only the first step of the analysis. The second step is unlawfulness (ilicitude), and that is precisely where the so-called grounds for exclusion come in.
Article 23 of the Penal Code lists the situations in which there is no crime, even though the act fits the definition of an offense: state of necessity, self-defense, strict performance of a legal duty, and regular exercise of a right. In these cases, the law deems the reaction justified, and punishment loses its purpose.
The logic is simple. The legal system cannot require a person to behave like a hero, nor to passively accept an attack or an imminent danger. In extreme situations, an individual is allowed to commit an act that, outside that context, would be criminal. The conduct still formally fits the definition of an offense, but it is no longer blameworthy in the eyes of the law.
State of Necessity: A Conflict Between Two Interests
State of necessity is set out in Article 24 of the Penal Code. It applies when a person, in order to save their own right or someone else’s from a present danger, sacrifices another legally protected interest. The danger must not have been voluntarily caused by the person acting, and there must be no other reasonable way out at that moment.
An everyday example makes this clear. During a fire, someone breaks down a neighbor’s door to rescue a child trapped in the apartment. Taken alone, breaking the door down would be property damage or trespass into a home. In context, however, protecting life outweighs property, and the conduct is lawful. The law chooses to preserve the more valuable interest.
The conduct is still an offense on paper, but it is no longer blameworthy because the legal system itself recognizes that, at that moment, there was no other reasonable choice.
Another common case is the driver who, to avoid a pedestrian who suddenly appears, swerves onto the sidewalk and hits a wall. The damage to the wall results from a choice made under real and immediate danger. Where the harm avoided and the harm caused are proportionate, a state of necessity is recognized.
Proportionality is the heart of this defense. It is not permissible to sacrifice an interest of clearly greater value to save a lesser one. Someone who destroys another person’s house to protect an object of little importance is not protected by the law. The assessment depends on the specific circumstances and on what could reasonably be expected at that moment.
It is important to distinguish state of necessity from self-defense. In self-defense, a person reacts to an unjust attack by another human being. In a state of necessity, the danger may come from natural forces, animals, or circumstances, and the interest sacrificed belongs to someone who did not cause the situation.
Regular Exercise of a Right: Acting Within What the Law Permits
Regular exercise of a right removes criminal liability when a person is simply using a prerogative the legal system recognizes. If the law gives someone the right to do something, that act cannot at the same time be treated as criminal conduct. The key word is “regular,” meaning within the limits of the right being exercised.
Think of contact sports, such as boxing or martial arts. A blow that would be battery on the street is permitted in the ring, because the activity is regulated and the participants consent to the rules. As long as athletes respect the rules of their sport, they are acting in the regular exercise of a right.
The same reasoning applies to a creditor who collects a debt through lawful means, to a parent who raises a child within reasonable limits, and to someone who withholds documents the law allows them to withhold. In all these cases, the conduct has legal backing and is not a criminal offense.
The limit appears when the exercise of the right becomes abusive. Collecting a debt is a right; coercing the debtor with threats or exposing them to ridicule crosses the line and can amount to a crime. This defense protects the legitimate use of a right, never its distortion to cause unnecessary harm to another person.
Strict Performance of a Legal Duty: The Order the Law Imposes
Strict performance of a legal duty occurs when a person engages in conduct that would otherwise be an offense because the law itself requires them to act that way. Here there is not merely a permission, as with the exercise of a right, but a duty imposed by the legal system. Someone who performs that duty within its limits does not commit a crime.
The classic example is the public official who, authorized by a court decision, enters a property to carry out a search or eviction order. In another context, a forced entry would be trespass into a home. Because it stems from a legal duty and a valid order, the conduct is lawful.
The court officer who seizes property under a court order, and the health care professional who reports notifiable diseases to the authorities, also fall into this category. In situations like these, failing to act is what could create liability. The law turns the conduct into an obligation, not a crime.
The word “strict” is no accident. The duty must be performed in the exact terms provided, without excess. If the official uses the order to go beyond what is necessary, causing harm the law did not authorize, they lose the protection of the defense and answer for what went beyond it. Respecting those limits is essential.
The Limits: Excess Remains Punishable
None of these grounds for exclusion works as a blank check. The sole paragraph of Article 23 of the Penal Code is clear that the person answers for any excess, whether intentional or negligent. Someone who starts out protected by the law but goes beyond the limits of the situation is again criminally liable for the part that exceeded those limits.
Imagine someone who, to restrain an attacker who has already been subdued and is no longer resisting, keeps hitting him out of revenge. The initial reaction might have been justified, but the unnecessary continuation is excess. The law offers protection only as long as the reason that authorized it lasts, and not beyond.
For that reason, each case requires a careful analysis of the circumstances: whether the danger was present, whether the response was proportionate, whether alternatives existed, and what the person intended. This assessment is technical and depends on the evidence gathered. This is where the guidance of a professional makes a difference in determining whether the conduct was lawful or a criminal offense.
Frequently Asked Questions
Does someone who acts out of necessity have to compensate the owner of the sacrificed property?
Yes, it is possible. Although the conduct is not a crime, civil law allows the owner of the sacrificed property to seek compensation, especially when the owner did not cause the danger. Excluding the crime does not automatically remove the duty to repair the material loss caused to an innocent third party. The criminal and civil spheres are independent and can lead to different outcomes for the same act.
What is the difference between regular exercise of a right and strict performance of a legal duty?
In the regular exercise of a right, the law permits a person to act but does not require it, as with an athlete playing a contact sport. In the strict performance of a legal duty, the law imposes the conduct, as with a public official carrying out a court order. The distinction lies between an authorized prerogative and an obligation imposed by the legal system.
Does reacting to an attack always rule out a crime?
Not necessarily. Reacting to an unjust attack can amount to self-defense, but only if the attack is occurring or imminent and the response is proportionate and uses only the means necessary. If a person reacts disproportionately, or after the danger has already ended, they may answer for the excess. Each situation must be analyzed in light of the evidence and the specific circumstances before any conclusion is reached.
Receba novidades por e-mail
Cadastre-se gratuitamente para receber nossos novos artigos.
Seus dados estão protegidos conforme a LGPD.
Ficou com dúvidas? Fale com um advogado especialista.
📱 Falar pelo WhatsAppAs informações deste artigo são de caráter informativo e não substituem consulta jurídica individualizada. Cada caso possui particularidades que exigem análise específica.






