Random matrix theory in lattice statistical mechanics