We could use this structure with all the types of subjunctive: in caso + presente, imperfetto, passato, or trapassato.