def METHOD_NAME(
    self, current_metadata, merged_metadata, convert_to_dataset_format=None
):
    super().METHOD_NAME(
        current_metadata, merged_metadata, convert_to_dataset_format
    )
    merged_format = merged_metadata["format.json"]
    def _ensure_list(arg):
        return arg if isinstance(arg, list) else [arg]
    def _ensure_error_value(arg):
        return arg if isinstance(arg, ListOfConflicts) else InvalidNewValue([arg])
    # The user can't commit LAS files at all unless they use --convert-to-dataset-format.
    if any(m.get("compression") == "las" for m in _ensure_list(merged_format)):
        merged_format = _ensure_error_value(merged_format)
        merged_format.error_message = "Committing LAS tiles is not supported, unless you specify the --convert-to-dataset-format flag"
        merged_metadata["format.json"] = merged_format