His barrister told a court hearing on Friday that it’s clear Shane Loughlin needs professional support