It's funny how the excellent job of the French Ariane launcher is nowhere to be seen in this (and others) article.
I'm not sure who it was anymore (possibly Scott Manley on youtube), but apparently ESA had been setting aside the components for the Ariane 5 that tested best to be used for the launch of JWST to lower the risk of failure and that might explain in part why it was able to launch it so precisely - it was not your average Joe's Ariane 5.