A girl deemed to be at risk of suicide who wanted an abortion was sectioned under the mental health act after a psychiatrist said a termination was not the solution.
This case came before the court last year and has been revealed in the Child Care Law Reporting Project.
An order was made to detain the girl after a psychiatrist said that while she was at risk of self harm and suicide due to the pregnancy - a termination was not the solution for the child's problems at this stage.
A few days later however a second psychiatrist said there was no evidence of a psychological disorder.
Her treating psychiatrist said she was difficult to assess because she became very agitated when she realised she was being admitted to a mental health unit instead of getting an abortion.
She and her mum had both thought that's why they were being transferred to Dublin.
The judge was satisfied the girl did not suffer from a mental health disorder and said she was entitled to be discharged.