The commissioner shall apply to the district court to seize toys presenting hazards when no other practical method to control the hazard exists. The attorney general shall represent the commissioner in the district court.