This involves heating the pallets in an oven to wait for a certain temperature in order to reduce the moisture content in the wood. Thus, the resistance of wood increases and for these insects, entering the wood becomes much more complicated.
Since March 2005, there is the ISPM15 standard, which applies in more than 160 countries (Europe and outside Europe, for both export and import), which regulates pallet processing precisely. It should be noted that since 2010 chemical treatment with methyl bromide (= marked pallets MB) is prohibited in Europe.
There may still be import pallets labeled MB (= methyl bromide = chemical treatment to run away!) But they are still rare. If you cross them, do not use them and prefer unmarked pallets or pallets marked HT (heat treatment). (source)
All the details here: