All sorts of things can be done to coax stud bolts out of their threads. If the bolts are not too tight, simply counter them with two hexagon nuts.
Cleaning the jets in the carburetor or injection system?
A scrap of stranded copper wire is the method of choice.
External thread broken and no die to hand? No thread file? Nothing? Then it’s time for the slotted cutting nut.