Court rules in favor of U of M's academic freedom claim