I remember when my stock X-bolts (JIS) had to go on my CB750 K6.
Many of them had to be drilled off.
Drill so head fell off. Same with the countersunc x-bolts inside the shifter cover. Drilled the heads off. No collateral damage.
All JIS replaced by allen head bolts after that. I had lots of them at my job early 80's. M4-M8 in various lenghts.
Even my Mikuni smoothbore carbs got allen heads for top covers and float bowls.
It had been very tricky to remove float bowls with carbs mounted on engine when changing pilot jets, allen heads no problem. M4x12.
My oil pump upgrades the last 8 years. Drilled off the x-bolts.
Countersunc allen head and hexagon bolts.
Easy to service a bike restored to be frequently used.
Different with a fully 100% stock, a beautiful museum bike for less riding.
My K6 got the valve cover removed very frequently a few years ago
Both my CB750 have frame kits so valve cover can be taken off with engine still in frame. Head and cylinder too.