If the input Geometry is invalid then the output can be invalid indeed depending of the parameter `distance`