I cannot tell you why the judge would allow the truck to be in your name while giving him the truck. Of course this makes no sense at all, and I cannot possibly figure out what the judge was thinking.
There are a few things you can try. First, if it has been a number of years and the truck has been sitting for the reasons you state you may be able to file a motion for reconsideration of the division of assets. You can then state the situation with the truck, and hopefully the judge will have come to his sense and will see fit to return the truck to you.
You will need to check with the clerk's office in the court house as it may no longer be possible to file a motion for reconsideration. In this case, you should ask the clerk about filing a petition for redistribution of the assets. I do not know how Vancouver handles these matter (which is why you need to speak with the clerk at the court house). This may be a petition that is filed in family court where the divorce and division of assets originally took place or you may need to file it in civil court.
In any event, if you are not successful in either the family court or the civil court you should file an appeal with appellate court. These courts review the decisions of the lower court judges, usually in groups of 3 - 5 judges. This way there is less bias.
If the appellate judges feel that the judge abused his discretion (which is the legal argument you are making) by leaving the truck in your name, alone, but giving him custody of it they can order that this be corrected.
As the truck is in your name you would most likely be given possession of it.
Please let me know if you have any other questions about this.