Luckily I don’t have to care about Russia myself (my Russian friends left the country to avoid that danger). If police arrests you there, you may have other troubles. If needed they just install/save things on your device that shows that you are the danger of the country. I mean, do you really think that regimes care about laws or fairness? Once you give the pass code for encryption, you have lost anyway. They just need to download a picture with “stop war” and say it was you. In Russia you have lost in any case if they want to get rid of you.
If you really fear that someone could have access to your data to harm you, you may should think about more secure ways to handle your data.
That’s why I want my phone to shut down after 3-5 attempts to get into strong disk encryption password. So people (or police) who steal my device have max a 0,0005% chance to get into it (password with 6 numbers). If I really fear this, I can choose even more secure login passwords with more digits and/or more different signs. Sadly right now L5 can be brute forced once each second. A standard password can be found out within 12 days.