if not collision_allowed and target in targets:
            raise UserError("Target collision is detected at '{}'".format(line))