A477

Neither actually. A 20 hits. Always.

If the 20 with modifiers is enough to actually hit the monsters defense, then it is a critical hit and you get all the goodies associated with that.

If the 20 with modifiers would miss the monster's defense, then it is still a normal hit. You must roll your normal damage appropriately.

A 20 can never miss.