What if you defined an L-shaped polygon, where the margin would put the bottom part of the shape outside the margin box, but leave the upper part inside? You might be able to set it up with two boxes such that the upper box is on one side of the line and the lower box is on the other.