Please investigate this further as I am not sure why. From other internet sources, it internally calls the NtUserLoadKeyboardLayoutEx. I am not sure how the this internal function works and it seems there was a famous exploit using this internal function.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/5361#note_65791
There's not much point rebasing this every day. The test seems to break some other tests and it also somehow messes with the loaded keyboard layouts list. I want to investigate a bit further how this function behaves.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/5361#note_65790