Background information
I am a Swiss citizen and I used to live in Vancouver, BC, Canada for the past 6 years and I moved to Switzerland three months ago. I hold a class 7 drivers license from ICBC (the authority for delivering driving license in British Columbia).
The class 7 driver's license has some driving restrictions and for this reason the Swiss authorities refuse the transfer my Canadian driver's license into a Swiss driving license. I therefore have two options; I either pass the license in Switzerland or I fly back to BC, to get a class 5 driver's license for which the Swiss authorities have signed me a letter that they will accept it even if I pass the class 5 license while not being a Canadian resident.
Note that passing the driving license in Switzerland is a lengthy process and costs about 2000 CHF (including the so-called L2 phase) if I don't take any lesson. In comparison getting my class 5 would take the time of the flights plus a few hours over there and would cost 50 CAD (I don't count the costs of the flights as I will need to fly back to B.C. at some point during the year anyway).
I meant to pass my class 5 driving license before leaving Canada but covid-19 decided differently.
Question
I am now a Swiss resident and national with a valid student visa in Vancouver BC Canada and a valid class 7 driving license. Can I pass a class 5 driving test in B.C. without being a BC resident? Will my visa be enough or do I have to justify residency in B.C. to be allowed to pass the driving test?
Note that I do not pay for Medical Services Plan (MSP) in Canada anymore. But I paid my taxes for last year in Canada and I am technically still enrolled as a student at the University (UBC). Note also that it has be stipulated to the Canadian government that I do not leave in Canada anymore as I had to cancel the child benefit I was receiving for my son (who is Canadian).