Analytical study and numerical experiments for Laplace equation with overspecified boundary conditions