The Battle of Alesia wasn't a conventional siege in the sense that the defenders weren't behind a wall to defend themselves from open attackers, but the attackers were behind the walls using it against the defenders. The wall is offensive in this context, as a type of blockade, instead of a defensive structure.