A judge said an over-the-limit Kilwaughter farmer who crashed into a wall near Larne was fortunate not to have killed somebody.