What about pre-1907 law?
I'm still looking. As I said before, it was a common practice that was not necessarily codified before that 1907 law.
This may help...
@Key Dates and Landmarks in United States Immigration History