Found a bug.
During the Phantom Liberty quest, Firestarter.
Having the Iconic Malorian Arms 3516 (Johnny Silverhands gun) in your inventory when depositing your weapons in the locker. Retrieving them turns the gun back into a quest item with the yellow exclamation mark again and it can no longer...