See, that makes sense, in isolation. If 'taking the Attack action' IS synonymous with 'executing the weapon attack allowed by the Attack action', then a creature with one attack declares/actually attacks simultaneously. That makes sense.
But, if this IS the rule, then it is unavoidable that if...