I was reading article that uses "thereto" a lot.
I searched its meaning and I found "to the thing just mentioned".
It's still not clear to me.
For example in this sentence:
The government has the right to inspect any such establishment or any papers or records relating thereto.
What is the "thing that just mentioned" on that sentence? Is it the government or "the right to inspect"?