In the operation and maintenance of all facilities, authorized by Federal law and under the jurisdiction and supervision of the Secretary of the Interior, in the basin of the Colorado River, the Secretary of the Interior is directed to comply with the applicable provisions of the Colorado River Compact, the Upper Colorado River Basin Compact, the Boulder Canyon Project Act [43
et seq.], the Boulder Canyon Project Adjustment Act [43
et seq.], and the Treaty with the United Mexican States, in the storage and release of water from reservoirs in the Colorado River Basin. In the event of the failure of the Secretary of the Interior to so comply, any State of the Colorado River Basin may maintain an action in the Supreme Court of the United States to enforce the provisions of this section, and consent is given to the joinder of the United States as a party in such suit or suites, as a defendant or otherwise.