Yes, it would have to be a pretty serious action.
If someone is sentenced to 10 years in some country for something they wouldn't be charged with in Canada, then that issue wouldn't arise. If someone committed a crime in another country for which they would get a 10-year sentence in Canada, that is pretty serious stuff. Again, if someone were convicted for that in Canada, they can appeal it.
Would you like to give me a concrete case?