You can spoof the circuit to accept the bonnet is closed using a paper clip as a jumper across the contacts in the latch switch connector while you allow the penetrat5ing fluid to slowly work its way in and free up the seized action. See:
https://www.volvoforums.org.uk/showthread.php?t=279884 for more information.