Hi and welcome to MINI2
Thats a nasty problem you have there. Never heard of it before.
It sounds to me like it could be a problem with the computer systems. Maybe a processor is malfunctioning when it reaches a certain temperature hence the intermittent nature of the fault.
Hope the dealer can sort it out soon. Keep us informed of any progress.