When the oil and gas reached the rig, they were diverted not overboard, as might have been wiser, but to a system called the mud-gas separator which spewed gas back onto the rig.
But for the process to result in a working battery, all five layers must stick together and work in synchrony, and the tricky step was finding a separator material that kept the whole stack in one piece.