Using your headlights to warn other motorists could land you in hot water