Headless roiManager("open", file-path)

I’m aware that ROI Manager does not work headless (as mentioned in Macro calls to roiManager create exception when Fiji run in headless mode. I have some ROI saved in files and I need to load it before do some processing.

open("/path/to/stored.roi.zip");

works in the Interactive Interpreter but raises java.awt.HeadlessException in headless mode.

How can I use macro language & built-in macro functions to read the ROI that I have saved into Overlay so that I can work in headless mode?