She also said that there may be grounds for an application to change her client's guilty pleas but she needed to take further instructions.
Judge Philippa Sinclair remanded Kepu in custody to the Mason Clinic, and he is due back in court next month.
Kepu is currently serving a six year and four month prison sentence for killing Mr Palmer in May 2010. Mr Palmer was opening Kepu's cell door to escort him to the exercise yard when he was attacked. He fell backwards and hit his head on concrete paving, causing fatal head injuries.
At the time, Kepu was in prison after being convicted for violent assaults including repeatedly kicking a police officer in the head and attacking a pregnant woman.