The relevant provision is Section 5, which enables Congress, subject of course to judicial review, to pass “appropriate legislation” to “enforce” the Fourteenth Amendment. See City of Boerne v. Flores, 521 U. S. 507, 536 (1997).
It’s like SCOTUS is talking out of both sides of their mouth. Only Congress can decide but we have to review and OK it as well.