I'm wondering what the attorney is planning on appealing. Normally you can't appeal until there's been a final determination (decision) on the case. Occasional interlocutory appeals are cognizable here, i.e. Constitutional issues like no bail or no jurisdiction (authority to hear the case), but they are the rare exception. In order to appeal, you have to have something to appeal. Can't appeal a "charge." Maybe he's looking ahead, which would mean his own attorney is expecting a guilty verdict, but then again, who isn't?
Definitely insane

"Legally insane," not a chance. The test in Peru is similar to McNaughten. If he understood the NATURE of his act (Did he know it was criminal?), then he's not legally insane. Doesn't even take an expert to come to that conclusion.