The Victorian opposition has been rocked by a ruling against its leader, with questions over how it will impact the next state election.