It happens more often than you think.
I found a small flashlight in the ECU box of my Z4
Literally like this:
I think its a flashlight from the agency that checks the shops that do the annual MOT test in Germany.
Who knows how long it had been sitting there. The car was 6 years old when I got it.