Taking an idol through the portal works, and it does open the gate.
Also, holding the same idol and trying to put it on its respective pedestal makes the occupying one drop on the ground. Placing the idol on the altar again opens the gate for like 2 seconds without triggering the cutscene and you can actually run through it.
