Positioning maritime boundaries with certainty - a rigorous approach