Courts thus far have come to different conclusions about whether such policies are constitutional, which could pave the way for a Supreme Court case.