A Dublin man appeared in court completely nude and refused to wear clothes after his "emotional support" cat went missing during a traffic stop arrest.