Dozens of activists have been “banned” from Australia's parliament over a spectacular protest that mirrored a controversial incident.