My hunch is, they’ll force the Israelis to recite the Shahada as a condition for releasing them.
There is precedent for that being reversed. Moses Maimonides was forcibly converted to Islam, but when he went to Egypt the authorities there let him revert to Judaism due to the conversion having been forced.