Judges savage Northern Irish legal team behind drink-driving