It shall be the duty of the district attorney general to investigate and file answer to any petition alleging ownership of or any interest in any intoxicating liquors seized under this part, and to represent the state upon the hearing of such petition.