(a)paragraphs 1 and 2 are replaced by the following:‘1.Where an undertaking is active in the primary production of agricultural products and is also active in one or more of the sectors or has other activities falling within the scope of Commission Regulation (EU) 2023/2831note, de minimis aid granted for activities in the sector of agricultural production in accordance with this Regulation may be cumulated with de minimis aid granted in respect of the latter sector(s) or activities up to the relevant ceiling laid down in Article 3(2) of Regulation (EU) 2023/2831, provided that the Member State concerned ensures, by appropriate means, that the primary production of agricultural products does not benefit from de minimis aid granted in accordance with Regulation (EU) 2023/2831.2.Where an undertaking is active in the primary production of agricultural products as well as in the fishery and aquaculture sector, de minimis aid granted for activities in the sector of agricultural production in accordance with this Regulation may be cumulated with de minimis aid for activities in the latter sector in accordance with Regulation (EU) No 717/2014 up to the highest ceiling laid down in either of those Regulations, provided that the Member State concerned ensures, by appropriate means, that the primary production of agricultural products does not benefit from de minimis aid granted in accordance with Regulation (EU) No 717/2014.note