Boolean Solids in gdml

Hi,
I am new to gdml and Geant4. I am trying to make a gdml writer with boolean solids. I have a confusion, what would be the position ref and rotation ref of the resultant boolean solid if both the constituent solids have a certain translation and rotation?
I did read in the gdml manual but it wasn’t clear to me. Right now I can create boolean solid as expected only if both the constituent solids are centered at origin.

In Boolean operations (union, subtraction or intersection) the second solid is placed in the coordinate system of the first solid. So, the resultant Boolean solid should be placed like the first constituent solid.

In other words, to avoid confusion, make a Boolean operation without moving the first solid, and then move it like the first solid would be moved without Boolean operation.