U.S. Supreme Court Justice Samuel F. Miller ruled that California???s law was extortionary and unconstitutional; states might pass laws regarding ???paupers??? and criminals, but otherwise, immigration was a matter for the federal government because it was fundamentally a matter between nations, not between states and those who broached their ports.