Soldiers from both armies were trapped in the same hut