It won a four-month order barring the demonstrations from certain parts of its campus until the end of July.