The dropping off on the side of the road 'might' be an issue the court might address. It depends on time of year (blistering hot or freezing cold?), distance (a few blocks or miles?), and location (city street or freeway?). And if the BF had absolutely no means to be able to call someone to come get them. If the circumstances are right, it might be viewed as putting the child in danger. Yes, the father was there, but he would have a difficult time shielding the child from adverse weather conditions, carry the child for a long distance, or shielding the child from traffic (if he would have gotten hit by a vehicle, the child would have, too).