A Houghton man kicked the interior of a police car in anger after being arrested on suspicion of committing a crime, a court heard.