A Canadian court has refused to consider the merit of lockdowns and upheld their decision to jail a Pastor.