There were dramatic scenes in the Perth CBD on Tuesday after a man walked into one of the State’s busiest court buildings claiming to have a gun.