C7 is a solid electrolyte one, and C2 is a wet slug type. They do not have any real failure mode other than going short circuit if overvoltage is applied, so if they are working in there leave them. If they fail then replace the solid ones with a 125C electrolytic, preferably a Nichicon or Panasonic one, of a higher voltage rating. Wet slugs you replace with another of the same type. The ECU manufacturer would not place them in there unless nothing else would work, as they are very expensive even in OEM quantities. They likely cost more than the rest of the control semiconductors combined.
Glue the replacements down with an acetoxy free silicone, and reinstate the conformal coat on the board and component when it has cured. As you most likely will be using a radial lead component you will need some thin sleeving to insulate the one lead that you will have to extend to get to the other axial lead hole.