The Department of Water Resources shall have an interest and may appear as a party in any hearing held by the board and may commence or appear in any judicial proceeding brought to inquire into the validity of any action, order, or decision of the board.