Barrie man convicted in robbery facing deportation, court hears