I expect that an FBI agent knows very well that they cannot remove the documents from the secure facility, for any purpose. For me it raises the question of why they believed otherwise - did leadership or other people's behavior lead them to think it was ok?
Trump also allegedly misled officials about it and refused to return documents when requested.