Okay. Here goes:
First of all, free up the coil from the hot melt. For that you need a heat gun with a narrow nozzle, and a quick hand, to melt the glue without melting the lower clamshell:
The coil is rather rigid and the loops are glued together. It’s rather stiff and solid. No worries there. The leads aren’t though, so be extra-careful.
Then make a plastic plate with notches that the coil fits into. I used 3mm thick plexiglass. My coil’s inner dimensions are 34mm x 15mm, but YMMV I guess. The notches are 2.3mm in width (thickness of the clamshell’s wall). One of the notches is 12mm long to keep the tab intact, the other can be shorter.
Check that the coil’s fit is an interference fit, so it’ll stay put:
Then make a suitable notch in the lower clamshell and check that the notches in the plexiglass plate fit with interference also:
Then saw make 2 more notches at each side of the plexiglass plate in the clamshell (1.5mm wide) for the short sides of the coil, and mount everything:
Add a drop of glue here and there to keep things in place, reassemble the PCB, close the clamshell and you’re done
You’ll need needle files for the narrow notches in the plexiglass and in the clamshell, and a sharp x-acto knife to make the main notch in the clamshell. If you’re handy with tools, it takes about an hour.