I see where you are coming from, but I think this is not comparable.
Imagine if russia invaded Germany. Took over Mecklenburg-Vorpommern (renaming it to Putlergrad oblast), banned German and forced everyone to speak russian and get russian citizenship. In the mean-time Ukraine and Poland would build a pipeline to the newly annexed Putlergrad oblast. How would you feel then?
So you would be OK with Ukraine and Poland building a Russian pipeline if didn't go directly to the newly annexed Putlergrad oblast? If the pipeline went to Austria or Czechia following the annexation of Putlergrad oblast, would this fundamentally change how you would view Ukraine/Poland's involvement in the construction of the said pipeline?
I am not necessarily arguing you're wrong or trying to convince you of anything. I am just trying to show you how it looks from the other side.