A businessman and two law-breaking drivers were among four defendants from York and North Yorkshire sentenced by magistrates.