Section 7. The attorney general may intervene in such action and may demand a judgment of fine and forfeiture.