If this was just a case of sexism I might be leaning towards a unsure answer, a 'I don't know' answer given how I don't have enough information to know the details behind the ruling. From what others have put forth here, that there are many internal and external child care centres catering to the military, makes me ask why she didn't utilise them. Who knows though, maybe she wasn't capable of applying because of some stupid policy or another... though I agree this is likely not the case. That she repeatability refused any consideration the military was trying to give her because it wasn't exactly getting her own way, the whole way, is clear and I can't fathom why the court would rule against the only party trying to sort out this whole mess.
Having added a racial charge though makes me lean towards against, given how she was demanding a foreign national be given access to the country outside of standard permits and agreements! This would be a clear violation of immigration, yet the court ruled that the government would have to allow foreign nationals a way around immigration policy if their sister has a child in country....
I can only hope, at this point, the government shuts it's door on all foreign nationals operating in government hold positions. Given how they would have to breach immigration laws, or open themselves up to further civil violations, I don't see how they would be given any other choice. This rulings mean they would have to revive the immigration laws to forbid government positions being offered to foreign nationals.
Anything else would mean a easy way for criminal elements to get around current laws, being able to sue if they don't get a visa they didn't deserve.