Unless the video camera used to capture the event has the ability to do remote chemical analysis, there’s really no way to definitively know whether the pipe in question contained crack.
But a good prosecuting attorney would argue that if the mayor takes a hit, you must not acquit.