A violent axe and cricket bat attack on two men as they drove along the A2 had its background in human trafficking, a jury has heard.