Cops warn protesters against illegal marches