Scott Pearson claimed he armed himself after death threats were made against him at top-security HMP Shotts.