We’re discussing logical consequences of a thing, not if the thing is possible in the first place.
You don’t have to talk logical consistency to rule out “all knowing and all powerful” if you’re just looking at how things work in reality.
In reality, you can’t be all powerful or all knowing. Done, end of story. It’s impossible on the face of it.
In the hypothetical where something can be all powerful, then the power to do whatever, even in a universe that behaves like ours does, is consistent.
The power to do anything includes the absurd, inconsistent, and contradictory.