The Supreme Court ruled unanimously Monday that colleges that accept U.S. government money must allow military recruiters on campus, despite university objections to the Defense Department’s “don’t ask, don’t tell” policy on homosexuals.

Justices rejected a free-speech challenge from law schools and their professors who claimed they should not be forced to associate with military recruiters or promote their campus appearances.