President Biden said Monday that the Nord Stream 2 pipeline from Russia to Germany will not go forward if Russia invades Ukraine.

โ€œIf Russia invades, that means tanks or troops crossing the border of Ukraine, again, then there will be no longer Nord Stream 2. We will bring an end to it,โ€ Biden said at a joint press conference with German Chancellor Olaf Scholz when asked if the project will move forward if Russian troops enter Ukraine.

โ€œI promise you we will be able to do that,โ€ he added, though he declined to elaborate on how he would ensure the pipeline would be brought to an end.

Scholz did not directly address the pipeline when asked about it following Bidenโ€™s response. He said it is important to โ€œnot spell out everything in publicโ€ while adding that โ€œfar-reaching measuresโ€ have been โ€œwell-preparedโ€ by both countries.

The chancellor said U.S. and Germany will โ€œact together jointlyโ€ to impose sanctions if Russia does invade Ukraine.

โ€œThere wonโ€™t be any measures in which we have a different approach,โ€ he said.

The U.S. and Germany โ€œwill be unitedโ€ and will โ€œact togetherโ€ and โ€œtake all the necessary steps.โ€

Bidenโ€™s warning comes after his administration waived sanctions on the pipeline last year in an effort to rebuild the United Statesโ€™s relationship with Germany.