Police detained the man as he stood behind the bar of a Perth pub after he allegedly caused a trail of destruction.