The purpose is to recognize e.g. /_utf8mb4 0xD091D092D093/ as a valid string. The rule actually accepts /id integer/, but in case the statement is something else but an '_' immediately followed by a character set, followed by a hex number, it will be rejected by the server so no harm done.