Country of Origin is a slippery one with some loopholes. I was talking to my Vimex rep and he mentioned that they had a customer with requirements that no components come from mainland China, but they needed a rotary switch that was only produced in their China factory, so their solution was to ship the Chinese switch to their facility in Taiwan where a knob was applied. At this point it became "assembled" in Taiwan and no longer considered a Chinese component.
I could easily see things like enclosures going through drilling/powdercoating/UV printing and being considered a Thai product at that point. It's a little different with things like resistors and caps, but one could argue that once they are removed from the manufacturer's packaging and re-packaged in Thailand, they have been "processed" in Thailand and are therefore a Thai part.
Along the same lines, when I sell PCBs internationally I declare them as a product of the USA because that's where they were removed from the manufacturer packaging, often depanelized, visually inspected, sorted, and repackaged.