After being out in the rain, as soon as I get in and start the engine, the trunk lid unlocks.
Sometimes, usually in dry weather, the locking mechanism does not grab the metal loop (does not lock). One way of getting around this is to slam the trunk lid (a few times) with enough force until it closes. However, one has to be careful not to break the rear glass and everything else.
In other times, the locking mechanism just keeps flickering on and off.
I have checked the wiring loom around the lid, and did not find any damage to it. A local auto electrician cound not find any damage as well and suggested a new CDI.
What I can say it that the car was involved, surely, on an accident as the slightly-different color/clearcoat on the front left fender and missing parts from the interior of the driver´s door attest.
Any advice on what could be the cause? Thanks!