Hi @pieterbos
You can try supplying an external 32.768 kHz signal (e.g. from a signal generator or test oscillator) to X1 to see if the system behaves correctly.
If the MCU starts reliably with this, the issue is almost certainly with the oscillator circuit.
If there is an issue with the oscillator circuit.
You can visual inspection under magnification for oxidation or corrosion around the crystal, capacitors, and oscillator pins (X1, X2).
Contaminants (e.g., flux residue) can create leakage paths or add parasitic capacitance.
BR
Harry