Thomas Aquinas said this quote

Nothing which implies contradiction falls under the omnipotence of God.