The Third District Court of Appeals found that a state agency acted outside its authority when it denied a Clear Lake psychiatric hospital an opportunity to administratively appeal an order to close.