The UTXOs are definitely never going to be spent, known as 'provably unspendable', so can effectively be forgotten about by a pruned node. A full node would still store them on the other hand.
A new node syncing will check through everything including the provably unspendable utxos, but once verifying the transaction information eg signatures etc, it will remove the data from memory.