Police say incident could have ‘ended in devastation’