Canada passed a law that prohibited poor people from
entering into their country for any reason.
That law, and one one like it in the U.S., is still around. I cannot enter the U.S. as a tourist without proof I can support myself, and certainly not as an immigrant. The same holds true for anyone entering Canada. I doubt these laws came into existence only as late as 1906.