An Israeli military court has ruled that soldiers and police officers assigned to guard construction sites at West Bank settlements must ask to see building permits for the work, and to stop work at the site if valid licenses are not forthcoming.