The prosecutor has ordered the excavation of two old well-shafts behind an abandoned roadside restaurant.