Does a natural 20 on an attack cause a critical hit (even if the attack would have missed)?

Related question

I was going over the degrees of success rules in relation to the above question and it’s answers and came across a bit of rules that seem contradictory.

Step 4: Determine degree of success (Core Rulebook, General Rules, Checks p445)

You critically succeed at a check when a check’s result meets or exceeds the DC by 10 or more. If the check is an attack roll, this is sometimes called a critical hit. You can also critically fail a check. The rules for critical failure—sometimes called a fumble—are the same as those for a critical success, but in the other direction: if you fail a check by 10 or more, that’s a critical failure.

If you rolled a 20 on the die (a “natural 20”), your result is one degree of success better than it would be by numbers alone.

We are, in general, pretty familiar of this concept introduced in the playtest era. However, there are more rules that seem like they may be more specific.

Critical Hits (Core Rulebook, Equipment, Weapons, Attack Rolls p278)

When you make an attack and roll a natural 20 (the number on the die is 20), or if the result of your attack exceeds the target’s AC by 10, you achieve a critical success (also known as a critical hit).

If you critically succeed at a Strike, your attack deals double damage (page 451). Other attacks, such as spell attack rolls and some uses of the Athletics skill, describe the specific effects that occur when their outcomes are critical successes.

This second section makes no accounting for "would have been a success/hit", and says that "When you make an attack and roll a natural 20 […] you achieve a critical success." Does this make attack an exception to the rules that natural 20’s only take you one degree higher on success?