Using a squirt gun and pretending it's real to commit a crime is already outlawed, yes. But pointing a squirt gun at the police is against the law? Which law is that?
The same one where a person who pointed his finger at a cop was convicted of making terroristic threats.