[core] Add `--compat-options 2023` (#9084)