Any previously used gas pipe should be sealed to prevent a false gas leak, eg customer can smell gas. If they are being removed, then OP should have them removed.
@Absx, not the best photo but, one of the pipes looks like a steel pipe, which may require a different fitting.