A judge ruled Thursday that Associate Attorney General Robert McCallum must undergo questioning in a lawsuit, a decision that is helpful to a private group seeking records about the Justice Department’s conduct in a landmark case against the tobacco industry.

The action by federal Judge Emmet Sullivan of the U.S. District Court for the District of Columbia is the latest problem related to McCallum’s nomination as the Bush administration’s choice to become ambassador to Australia.