Funny thing is that 9B is the IATA code for Deutsche Bahn, the German national rail operator. I doubt DB operates AMS-ZYR though :P
In any case, you won't receive any miles for that segment Cupart

If there is no possibility to book the train segment under KL code instead of 9B, the only other alternative is to actually fly to Brussels instead..