an intermediate can change at any time with or without notification. so hard coded is a pretty bad design decision.
that was the fourth change of the intermediate at let's encrypt.
X1 -> X3 -> R3 -> (R10 or R11) -> (R12 or R13)
you can subscribe to that category to get infos about changes.
the last change was announced a few weeks earlier.
Similar topics with hard coded stuff
Next planned switch will happen to the not yet generated YE1, YE2, YR1, YR2 next year.