Just wanted to thank everyone here for all the help and input. It really made a difference while I was chasing this down.
I just received a full Ribe socket set and tested each size carefully. The Ribe M8 fits the cylinder head bolt perfectly. I haven’t tried with the breaker bar yet (only with the Milwaukee mid-torque impact on max setting, and the bolts still didn’t move), but the moment I seated the M8 in the bolt, I knew it was the right one. There’s zero play. It fits like a glove.
In my opinion, this is strongly a Ribe M8 head. I’m 99.9% confident it’s the correct socket for the K100 cylinder head bolts. The only reason I’m not saying 100% is because I’d still like to hear official confirmation from BMW Group Classic, who I’ve contacted directly.
At first, I hesitated because the lobes inside the bolt looked unusually rounded (especially around the outer edge), and the socket seemed to have a slightly squarer profile. But after looking into it, that shape is actually part of the Ribe design philosophy. RIBE, just like Camcar Textron did with Torx, engineered these fasteners for use in harsh automotive environments where oil, dirt, and debris are unavoidable.
The slightly rounded outer area of the lobes is intentional. It creates space to allow debris or grime to sit without interfering with the contact surfaces. The actual torque transmission happens on the inner flanks of the lobes, where the tool seats securely. So even though it looks like the socket isn’t matching every contour, it’s only gripping where it’s designed to, and the outer roundness actually helps with self-cleaning and tool engagement, not hinders it.
Here's a photo of the M8 Ribe socket fully seated in the bolt. Again, thanks to everyone here. This forum has been incredibly helpful, and I’ll be sure to follow up once I hear back from BMW Group Classic.

bolt 3.jpg (37.28 kB . 432x576 - viewed 578 times)I spose you applied penetrant, and some good taps on the bolt head, and torque clockwise and stuff like that.
I would be looking for water type leaking marks on the head beside the gasket, or signs of it swelling. I've removed a few bolts from our brick alloy engines and thought for sure I'll have alloy threads come out with the bolt, it's insanely tight. But after applying penetrant for a few days, and a short, sharp, hit, it was all good. From this thread, and others, I'm confident that torx or torx plus will work.
In these situations, what I often like to do, is nothing. If you haven't got a leaking head gasket or other symptoms of problems, I'd just leave it.
Thank you very much for the recommendations, Daveson. I've been applying Kroil three times a day and tapping those stubborn bolts for the past three days! I'd probably leave it alone too if it weren’t for the fact that I really want to clean the head, replace the gasket, lap the valves, and just give everything a proper refresh. Honestly, at this point I’m even tempted to try the K75-to-K100 piston swap. It’s become a bit of a showdown between me and the engine block now.