I've a feeling that these days some 'peripherals' are after all software, which is a reason we occasionally see a difference.
They are likely the same silicon.
Taking a look at STM32G0 series
Re: Taking a look at STM32G0 series
got my G031 chips. Everything worked out fine.
Except timer2 prescaler update. TIM2/3/4 fall into the same group but their prescalers behave different. Earlier STM32 chips have a bug whereby you have to set the UG bit in the EGR register to force a prescaler update. That hasn't been true on recent chips, including G030/G031, except TIM2 whereby you have to manually force an update. Not necessary on any other timers on G030/G031.
Except timer2 prescaler update. TIM2/3/4 fall into the same group but their prescalers behave different. Earlier STM32 chips have a bug whereby you have to set the UG bit in the EGR register to force a prescaler update. That hasn't been true on recent chips, including G030/G031, except TIM2 whereby you have to manually force an update. Not necessary on any other timers on G030/G031.
Re: Taking a look at STM32G0 series
having played them for a while, they are not exactly the sameI think STM32G030 is the same chip as STM32G031.

1. TIM2, LPTIM1/2, and LPUART work on G030. UID works on G030 too.
2. However, executing G031's pin assignment regime for LPUART locks up G030 - unable to restore comms with the chip. haven't found a way to recover from that.
So, something is different between those two.