I don't think I'd be reusing the same spokes to rebuild the wheel though, especially after they'd been twisted together, plus the new rim might need slightly different length spokes.
But as mentioned already, you could just keep riding on the rim as the coating eventually wears off.