Taking that aside, I wouldn't say that Yandex is incorporated in Netherlands for tax reasons anyway. (It actually pays most of its tax in Russia anyway).
It was created for legal reasons though. AFAIK its ownership structure (with 2 classes of shares, with different voting rights) was illegal in Russia at the time Yandex went public.
I wonder if Yandex eventually will be forced to completely move inside Russia. It seems that their Russian operations are main revenue source and they probably would not be able to leave Russia. And with current events unfolding, wall between Russia and Europe will probably only rise.
As of the end of 2018 most of the company’s staff has been located in Russia.
This of course changed as devs were given a choice: either relocate (with company’s support) until the end of March, or leave the company.
Jebrains started on the remnants of russian Borland branch. Founders worked for TogetherSoft (which was accuired by Borland) from Russia till 1999 when they moved to Prague where in 2000 they started Jebrains. But till the very recently most of the development was conducted in Russia.