"Pranks of this nature are not taken lightly. Actions like these could have had deadly consequences," the police chief said.