Instead of a PAC file, consider using the (now replaced by “HMD Recovery Tool” for some regions) which downloads and flashes the correct firmware over the internet — no PAC file required.
The tool should detect the device and start the flashing process.