Court stay on local elections