RA6: how to detect VBAT drop-outs?

How can I detect a temporary VBAT power loss during VCC power off?

Background: I need to detect e.g. a previous battery change after the device is powered again (coming out of reset).