Taking over conciousness was wrong as you said, but I think the appearnce of Midou and Phogo power derives from the nature of Aurora. I explain what I think it now in detail.
In Moon route, Aurora is mentioned as omnipotent power and “it is said that Aurora has power to refer to history and reconstruct it”. (活動の履歴を参照し再現する性質が確認されている in Japanese) And whole things are caused by this nature.
In Moon route simulation, Shizuru made Hercules beetle crab and it turned out Aurora remembered that. Consequently, the structure of Phogo might be recorded in Aurora. And I think Kotarou’s ability of ‘Rewrite’ is actually manipulation of Aurora because his use of Aurora is not limited to reinforcement of body in Moon or Akane route. So he could read information from Aurorra and use it.In addition to that, in terra route Kotarou talked with Sakuya. It also might be a sort of reading Aurora.
Therefore, I suspect his use of Phogo and appearance of Midou occured because he tried to refer to something related to fire from Aurora and found the structure of Phogo and Midou’s memory and mimicked it using Aurora power as he read technique of superhuman and use it though it was unconscious process.
After all, Aurora in Rewrite is omnipotent, so you can make any explanation on it… :masdum: