A high-profile criminal judge in Victoria has stunned a courtroom with his announcement from the bench that he would resign after learning of a DPP complaint to the state’s judicial commission over his handling of a case linked to the Eastern Freeway accident that killed four police officers.