With a Hunting Scope attached and ammo loaded into rifle, I painted my Blaze Double with Black Spray paint while the rifle was still in my hands. Once the painting was complete and the item returned to my inventory, the scope was gone. There were no available slots in my inventory for the Hunting Scope to go to and the item did not go into my hands.
Scope will reappear on rifle when player relogs