This has more to do with the Random generation but sometimes the map generator will place inaccessible structures like this one.