Hi there!

Your understanding is correct. 

On remote power restoration, your Raspberry Pi will reboot automatically. When mains power cuts out, you can set a custom delay for soft shutdown by modifying the script, followed by full poweroff to the Pi.