It's definitely legal in Russia to decompile something for the purpose of interoperability. Though you do have to remember that this is Russia, and the interpretation of laws changes depending on who and how rich you are.
And this is how it should be everywhere, the copyright model was beneficial for the society maybe up until 300 years ago. Today, the whole copyright thing is bizarre.
The copyright model is more recent than 300 years ago. It cannot have provided any benefit to any party before then.
show one legislation where this is not true
Corruption is not yet prevalent enough that a rich person can get away with murder by bribing judges/prosecutors to interpret the laws differently.
"steal a million dollars and you go to jail, steal a billion dollars and they name a business shool after you"