US informant tells British court he stockpiled weapons