Chief justice says ruling guts access to police records : vi