A Cole County judge on Wednesday ordered the state to pay more than $240,000 in legal fees as part of a ruling that found the attorney general’s office “knowingly and purposefully” violated open records law while it was being run by now-U.S. Sen. Josh Hawley.