A judge said it was "highly arrogant" to ignore legislation which was designed to protect road users.