Hello,
Not sure, but the issue is certainly intermittent. Jaguar is notorious for electrical issues, so I wouldn't be surprised if that were the case.
Wait until it is on, and take it in for diagnostics. If the fault is not happening when you bring it in, there is only so much that can be done.
RepairPal Certified shops can diagnose and repair your 1998 Jaguar XJR. They provide transparent pricing with a minimum 12-month or 12,000-mile warranty on repairs and services.