Years ago, I heard that Canada has a revised “anchor baby policy” that made sense to me. In order for this to happen, one of the parents had to be a Canadian citizen.
It was never supposed to apply to non citizens. The Rats did this to us.