A federal judge said the Bush administration acted legally when it refused to let Vermont state workers import low-cost prescription drugs, but he also said he approved of the state’s goal.

Dismissing a lawsuit filed by the state last year, U.S. District Judge William Sessions said this week that Vermont had failed to show that the Food and Drug Administration had any responsibility to certify the state’s proposed medication-import program.