In the Riemannian geometry the distance between any two points is defined as an integral along the shortest curve (geodesic), connecting the two points. Let the Euclidean geometry be defined on two-dimensional plane L as a Riemannian geometry. Let now we make a hole in L and obtain the plane Lh with a hole. Then the plane Lh will not be imbedded in L isometrically. Does it mean, that the Riemannian geometry is inconsistent? Or following mathematicians, one should consider the Riemannian geometry as a consistent geometry, provided one considers only convex pointsets.