The only issue I have with this is that it's a bit fragile. Some pieces are in control file, and some logic around, which is tight to control file entries, is here, in code.

In general, I don't strongly object to that. On the other other hand, changes in kernel selection are quite often and always requested by PjM. So it was good to ask PjM for their opinion on that.