The main purpose of this legislation, known as the "Line 5 Act," is to ensure that the President of the United States or any official acting on their behalf does not violate an existing agreement between the United States and Canada regarding transit pipelines. This agreement, signed in 1977, governs the operation and management of pipelines that cross the border between the two countries. Key provisions of the Act include a clear prohibition against the President or their designees from taking any actions that would breach the terms of the 1977 agreement on transit pipelines.