The move, said an official, should serve "as a warning."