Yes there is: if you're a user who already uses two or more languages, cycling through them with language bar hotkeys, this will add an annoying extra one you don't use.
Maybe just the language (e.g. Ukrainian) can be installed without defining a keyboard, and that will still thwart the ransomware. But already you have no verifiable test case that the trick actually works with the keyboard; that's already being done on faith, so you're adding a wild-assed guess to faith.