Both face shrinking and aging populations. Both either cannot or will not control their borders, despite popular protests.