That headline is wrong. Russians aren't actually banned from anything, just licenses given out by the Russian body.
Nationalities in motor racing are by which national body gives you the racing license not which passport you have.
Alex Albon is British but has a Thai license, so races as a Thai. Grosjean is Swiss not French. Going back in time, Gachot is French (raced as Belgian), and Jochen Rindt was German (but an Austrian license).
All the likes of Mazepin, Kvyat and Sidorkova have to do is apply to a different national body for their racing license (say, that of Ukraine...), wait for it to come back and they're allowed again.