Court rules inquiry must be held in 'Hooded Men' case