section_path: Politics/Law and justice
section_name: Law and justice
paragraph_text: Law and justice
  
  The Portuguese legal system is part of the civil law legal system. The main laws include the Constitution (1976), the Portuguese Civil Code (1966) and the Penal Code of Portugal (1982), as amended. Other relevant laws are the Commercial Code (1888) and the Civil Procedure Code (1961). Portuguese laws were applied in the former colonies and territories and continue to be influences for those countries. The supreme national courts are the Supreme Court of Justice and the Constitutional Court. The Public Ministry, headed by the Attorney General of the Republic, constitutes the independent body of public prosecutors.
  
  Drug decriminalisation was declared in 2001, making Portugal the first country to allow usage and personal possession of all common drugs. Despite criticism from other European nations, who stated Portugal's drug consumption would tremendously increase, overall drug use has declined along with HIV infection cases, which dropped 50 percent by 2009. Overall drug use among 16- to 18-year-olds declined, however use of marijuana rose slightly.
  
  LGBT rights in Portugal have increased substantially in the 21st century. In 2003, Portugal added an anti-discrimination employment law on the basis of sexual orientation. In 2004, sexual orientation was added to the Constitution as part of the protected from discrimination characteristics. In 2010, Portugal became the sixth country in Europe and eighth in the world to legalize same-sex marriage at the national level.
  
  LGBT adoption has been allowed since 2016 as has female same-sex couple access to medically assisted reproduction. In 2017 the Law of Gender Identity, simplified the legal process of gender and name change for transgender people, making it easier for minors to change their sex marker in legal documents. In 2018, the right to gender identity and gender expression self-determination became protected, intersex minors became protected by law from unnecessary medical procedures "until the minor gender identity manifests" and the right of protection from discrimination on the basis of sex characteristics became protected by the same law.
  
  Over the past 30 years, Euthanasia legalization has been proposed and approved in several parliamentary reviews, but has been blocked by the Constitutional Court, with the most recent unfavorable decision dating from 2025. In the most recent proposal, national residents over 18 who were terminally ill and in extreme suffering, but who could still decide to, would have the legal right to request for assisted dying. For non-residents or foreigners euthanasia would not be allowed.