Using regular in a modern car that calls for high octane doesn't "hurt" anything except performance. The engine adjusts to it. At the first sign of light pinging, perhaps even before you hear it, the engine will do two things in some combination: It will retard the spark, and it will make the fuel/air mixture richer, both of which quickly eliminate the pinging, but also hurt your performance and fuel economy slightly. Now, the 1ZZ engine (and any other engine designed for 87 octane) will not benefit at all from higher octane fuel, because the compression isn't high enough to cause the pinging in the first place, but your higher compression 2ZZ engine was almost certainly "backing off" to adjust to the 87. It should quickly readjust to higher octane fuel when you put it in (but I don't know if it happens over a period of minutes or a whole tank for this car).
Here is a wikipedia entry describing octane ratings and how cars adjust:
http://en.wikipedia.org/wiki/Octane_..._octane_rating