The special measure is being introduced because of the unsatisfactory state of anti-doping bodies in the two countries, which Bach said put "very serious doubts on the presumption of innocence".
Russian track and field athletes remain banned from Rio after the IOC offered "respect, approval and support" for the blanket ban on them, extended on Friday by world athletics' governing body for systemic doping.
But there is still a chance those athletes could compete as Russian Olympic chief Aleksander Zhukov said clean Russian athletes would appeal the "legally indefensible" ban at the Court of Arbitration for Sport.
Any athletes who succeed in their appeal would compete under the Russian flag, Bach said, not an Olympic or neutral one.
News that makes sense
Your trusted source for staying up-to-date with the world around you. Get free daily news updates and analysis, straight to your inbox.
(Editing by Ossian Shine and Robin Pomeroy)
