Here's what I wrote for the Common Problems database I've been working on:
"RX-8s built before April 18, 2007 may experience check engine light on with code P2070 (Secondary Shutter Valve [SSV] stuck open). There will probably be a significant loss of power, and there's a Mazda bulletin associated with this problem . Seems to affect the A/T models more than manual trans models. The SSV is activated to open a secondary air intake tract which feeds the secondary intake ports when the secondary fuel injectors kick in at high RPM/high power application. The cause is carbon accumulation around the SSV shaft. It's possible the acutator or solenoid valve controlling it could fail too. There's a stronger actuator available from Mazda specified in the bulletin and decarbonizing the valve and area are required to free the valve. If your car's under warrantee, check out the Mazda dealer. I think that the SSV is subject to corrosion too if the situation is allowed to persist. To fix it properly, according to the bulletin, there's a lot of pieces you need to remove to get to the valve and manually clean it and the port it's in in the manifold. It looks like a few-hour procedure and you should get the updated actuator too, gaskets, etc. If you want to try to fix it without taking anything apart (or prevent it), try "Seafoam" fuel system cleaner (available at auto parts store) and use as directed. This may be a good preventative measure too. Now, this is a hot car with a lot of performance potential which is designed to be used. Probably the best way to prevent this problem (or cure it with the cleaner added) is to romp on it (rev it up!!) frequently, within the limits of the law and prudent behavior and get that valve open or at least commanded open to keep it or get it working. You will need a code scanner or a mechanic with one to clear the code. If the valve gets unstuck, you're golden but if not you need to get down and clean the valve and replace the actuator. You can find a copy of the bulletin on the internet.
PS for all rotaries: Keep the engine oil clean and use good quality fuel. I recommend that all rotaries need to be warmed up fully once started (yes this is unusual for car engines) in order to prevent flooding on the next startup".
What this means to me (and you) is that the problem was already happening and the collision was most likely coincidental to the P02070 malfunction.
The 'throttle body flap being loose' does not sound accurate to me and I don't see how it could have happened from a minor collision. Also the P2070 code does not relate to the throttle body. If the butterfly valve in the throttle body came loose, the car would be undriveable, I think, and it would be a separate problem from the SSV code P2070, if the butterfly were actually loose.
Here's a directory link for you:
http://repairpal.com/directory?address=21117&car_bran...