Since God is omnipotent, all impossible ways are possible for Him and hence, there is no need of the application of worldly logic to God and the Veda says this very clearly (naiṣā tarkeṇa matirāpanīyā). Any logical or illogical way can be accepted in the case of God and the only criterion is that God will act in anyway provided that way brings the climax of greatness to God to keep up the meaning of His name Brahman. Brahman means the greatest (Bṛhi-vṛddhau).
We shall not use the omnipotence of God everywhere blindly. A wise administrator is he, who breaks the rule whenever there is no other way. If things can be achieved through rules, a foolish administrator blinded with ego breaks the rules to do even normal things that can be done in a normal way following the rules.
Omnipotence shall not be exhibited to do an improper action. A person is capable of cutting anything with his knife and when somebody asks him whether he can cut the head of his child, the foolish person shall not cut the head of his child to prove his omnipotence to cut anything! Hence, with these two logical limitations, omnipotence of God can be used to achieve the greatest greatness for God.