The judge ruled the case falls under the purview of the state’s Freedom of Information Commission.