The spontaneous casting segment for divine magic in the spells chapter of the CRB states that the conversion uses the 'divine energy' of the spell in question
But I have a feeling that might not be convincing enough for someone determined to make it work so I hope any resulting table tiffs are civil