What on earth makes you think their well-being was a factor at all?
The judge needs 800 pages to justify this? That's not a ruling, that's an attempt to spin reality from fantasy.
Sort of like a sex-change operation, actually...