Most likely the owner thought to make it look more original and just painted some of the parts which Honda used to paint. He's gone a bit overboard though, they didn't paint the whole nut, just enough so if the nut etc was disturbed they could see as the paint would crack. It was a safety thing and also a warranty thing at the same time, if the paint was broken they'd deny the warranty claim for instance.