The barrier, for instance suitable for use as barrier along rail-ways or traffic ways, is comprising an assembly of a barrier body and supports for said barrier body, wherein the assembly is statically balanced and provided with a collapsed configuration and an erected configuration, wherein the erected configuration is stable and movement of the barrier body out of the erected configuration causes gravity to operate as a driver moving the assembly to the collapsed or flattened configuration.