Court pans judge for 'gross' case delay