To match V2 implementation as discussed in https://github.com/microbit-foundation/micropython-microbit-v2/issues/97.