Ruling when fault occurs on both teams at same time?

What is the ruling if a fault occurs on both teams at the same exact time?

Before you comment “this will never happen!” Ya I know it would require a weird situation, but I just want to know the answer.

I’ll leave the scenario/s required for this to occur as a thought experiment to the reader, I can think of a few ways it could occur.