Court papers detail what led to arrest of Fort Pierce city manager