I'll go ahead and flag this to be moved over to the Rules Questions Forum so you can have the best chance of getting the attention and answer that your question deserves.
That being said, I believe this is already outlined in the spell description of protection from energy. The immunity from the protection spell is "used up" first before applying any energy resistance.