Grey wire is typically dash lights for instruments, radio, etc. Should not affect courtesy lamps.
Courtesy/interior lamps are generally "hot" (12v+) all the time with a ground circuit needed to complete.
I'd start by removing & disconnecting door jamb switches completely, possible they're completing ground circuit even though they seem to be operating correctly.
If that does not work you'll have to trace ground circuit from lamps to see if wire is pinched or connected incorrectly.
Good luck.