JPEG XL decodes in-process (Modular and VarDCT, alpha, 16-bit samples, animation, ICC). A file made by recompressing a JPEG is turned back into that exact JPEG first, so it follows the ordinary JPEG rules.