Ok from my experience I also change complete CEM and
problem is in black gasket rubber what cover cable harness coming inside
the CEM from top. You need to first put away cover of widnsield plastic and on the right side just spot big rubber cover
going directly to CEM. 4 screw remove and put black silicon all around the hole and on rubber cover and place it back.
Put also some silicon on cable hole where cable going inside cover.
No more water inside CEM. And trust me many car I saw with this problem waiting in service. When you already open
this windshield cover on the left side you can spot big hole for ventilation / AC blower. On top of this you can spot
also one black plastic cover. Pull it out - apply silicon also there and place it back. As this plastic when fall down cause
water also in passenger floor, AC blower ect...
p.s. When I had few months ago big service I open all this to check and I saw that many small tinny cables coming from left engine part in some kind of plastic black box under the windshield electrical engine or near, but in all length of windshield direction to CEM. I open this long covering plastic cable box and was full of water, debris, sand and very dirty... If you look from outside on the left side *i will made some photos tomorrow) you can spot tinny cables without any protection, not tape, nothing...than you can spot few 10 cm after on cables tape. :facepalm::facepalm:Shame shame from Cable Harness factory Guangzhou China 2006 (sticker on)

I pull out this cable long box, clean it, use another good tape and place all around the cables visible and not visible, put some cable ties and voila. :thumbup:

What I wont to tell: its unbelievable that Volvo didnt protect this cables as they are directly open to rain, snow, cold, hot weather. Wait tomorrow I will made an photo.
You can spot here on my car that we remove plastic windshield electrical engine cover and on the right side you can spot black cable harness going to CEM. And even in front complete black cable lead plastic what I pull out to clean and cover with tape as box is open at few places.