Toyota has asked a court to settle a dispute over a rule that led to a recall order covering 330,000 Toyota and Lexus vehicles.

The California Air Resources Board, which regulates auto emissions standards in the state, ordered the recall because an onboard computer system designed to detect excessive emissions failed to identify leaks from gas tanks and vapor lines.The computer, required in California, worked properly on the 1996-1998 model-year vehicles under laboratory conditions, the board said.

Toyota spokesman Jeremy Barnes said Wednesday that the the company filed suit in state court last week seeking a clarification of the rule.