How to separate the Grease Pencil from everything else

Hey,
I’m trying to use a Grease Pencil with a Line Art modifier to outline intersections (as Freestyle still can’t do that). Unfortunately, I have not found a way to separate the Grease Pencil from all other objects, unlike Freestyle, which can have its own Render Pass.
Is there a way to separate this Grease Pencil from everything else for further modification in the Compositor?

You can do this by having your baked line art objects in a different collection to your geometry. Then you need to set up 2 view layers so that one renders your geometry and one your line art (by turning on or off the seperate collections in each). You can then composite these together as needed when you render in the compositor view by having two render layers nodes, one for each view layer.