STM32 gotchas
280.Intermittent startup of HSE bypass, if VBAT is not powered (observed in 'G0)

As has been observed by users flawless and Satty, STM32G0B1 was not starting the HSE bypass reliably, if VBAT was left floating (the backup-domain parts of STM32 such as RTC were not used in this application). Interestingly, connecting VBAT to VSS/GND did not help; VBAT had to be connected to VDD.

While the general guideline is to never leave power-supply-related pins unconnected, this behaviour is genuinely surprising, as there's no obvious link between VBAT/battery-backup domain, and the HSE in bypass mode. It's also unexpected, that it's not enough to connect VBAT to VSS/GND, it needs to be powered.