Not just Japan most countries would do the same, I think.
Grandmother with Alzheimer's faces deportation from Sweden
https://www.bbc.com/news/uk-65180538Legally, decision by Swedish Migration Agency seems correct, which is bureaucratic. But ...
After Swedish media has repoted this case, migration agency was pressed to re-open the case.