1. In cases of offenses committed within, with the collaboration of, through, or by means of companies, organizations, groups, or any other type of entity or association of persons that, lacking legal personality, are not included in Article 31 bis, the judge or court may, with due justification, impose on said companies, organizations, groups, entities, or associations one or more accessory consequences to the penalty corresponding to the perpetrator of the offense, with the content provided for in subparagraphs c) through g) of paragraph 7 of Article 33. The judge or court may also order a permanent prohibition on carrying out any activity, even if lawful.
2. The accessory consequences referred to in the preceding paragraph may only be applied to the companies, organizations, groups, entities, or associations mentioned therein when this Code expressly provides for it, or when it concerns one of the offenses for which this Code allows for the imposition of criminal liability on legal persons.
3. The temporary closure of premises or establishments, the suspension of social activities and judicial intervention may also be ordered by the Investigating Judge as a precautionary measure during the investigation of the case for the purposes established in this article and with the limits indicated in article 33.7.