I don’t remember anything in the US Constitution that would be contrary.
That’s why I used the term “She ruled that...”