NC17 replaced X. They didn’t trademark X, which is why the porn industry adopted XXX so then to finally separate themselves from porn they invented (and trademarked) NC17.
XXX was the marketing idea of ONE man who ran an ad with the slogan “too much sex for just one X”.
There is no “triple-X” rating.