Depalletizing a stack of boxes with a lid on top

I have an assembly with "pallet / box (patterned to a stack) / lid (on the top box). I need to depalletize so I pick the top box together with the lid and then the rest of the boxes one by one.

Some more details. The pallet actually holds 4 stacks of boxes - each stack with a lid on. The lid needs to be a separate part since I will remove it from the box in the next process step.

Any ideas on how to do that?

I figured it out, using an assembly within an assembly. Only issue is that you cannot see the geometry of the sub-assembly within the assembly editor for the main-assembly. You only see the yellow box placeholders. So you need to work a bit blindfolded.