That may well cause problems when the commanded power level is not found in the table.
Really in LoRaWAN, the network server commands the gateway’s transmit power level. In this case that is Chirpstack - it’s really a Chirpstack question, not a RAK2245 question.
So the question becomes “how does one set the transmit power in Chirpstack”