A courtroom was cleared to ensure the safety of the public and court staff.

A courtroom at the ACT Magistrates Court was cleared after a man allegedly attempted to set fire to a flag  and made threats inside the building.

Police say officers were…