Nope, Husqvarna bolt is not M5 threads, but, they probleby have som short M5’s.
I would choosed another type insert, one who is not ment to thread in, on those inserts who is ment for plastic, but no treads as yours have, we use soldering iron to heat up the insert with, kinda get the plastic to...