A better trick I learned from an old carpenter (my grandfather) is to use carpenter glue and round toothpicks. Fill the hole with glue and then insert the toothpicks to pack tightly. Wipe excess and let set up. cut the excess with razor blade.
Now, mount the latch with screws, carefully, by hand...no power driver. Those threads will not only hold better than the original ones, the screw won't be permanently glued into the JB. I've been fixing kitchen cabinet door hinges for over 50 years with this trick and never once had a problem.
Why this works. The material inside the door is at best similar to balsa. The toothpicks are made from hardwoods. A Faster, better, cheaper solution.
Experience is what you get when you don't get what you want.
2017 White Hawk 30RDB
15 years on a Harley with a tent and then life happened.