Maybe this is obvious for some people, but that was problem I was fighting for a long time. On my maps residential roads had higher rendering priority than tertiary roads - and road junctions looked really ugly.
Today i discovered that roads with 'border' option in TYP file have higher rendering priority than roads without border :)