President Barack Obama signed the law that officially averts a federal shutdown but objected to and vowed to repeal rules attached to it that prevent the use of money to transfer detainees out of Guantanamo Bay or to foreign countries.

Despite my continued strong objection to these provisions, I have signed this Act because of the importance of avoiding a lapse in appropriations for the Federal Government, including our military activities, for the remainder of fiscal year 2011, Obama said in a statement.

Nevertheless, my Administration will work with the Congress to seek repeal of these restrictions, will seek to mitigate their effects, and will oppose any attempt to extend or expand them in the future.

The law funds the federal government through the end of the fiscal year, ending September 30. It is the culmination of last week's deal-in-principle to avert a government shutdown. The House and Senate passed the law easily on Thursday.

The bill H.R. 1473, is a $1.049 trillion spending measure which cuts $38.5 billion from current levels and is $78.5 billion less than what Obama requested last year.

Obama said in a statement he had signed into law H.R. 1473, the 'Department of Defense and Full Year-Continuing Appropriations Act, 2011.

Under Section 1112 of law, Obama cannot use funds to transfer detainees from Guantanamo to the U.S. or from the Cuban base to foreign countries for the rest of the fiscal year.

He called section 112 the continuation of a dangerous and unprecedented challenge to the President's executive authority.

Any attempt to deprive the executive branch of that tool undermines our Nation's counterterrorism efforts and has the potential to harm our national security, he said.

He also said Section 1113 of the law also interferes with the President's authority.

We must have the ability to act swiftly and to have broad flexibility in conducting our negotiations with foreign countries, Obama said.

Advice Funding Restrictions

Obama also protested Section 2262, which would prohibit the use of funds for several positions that involve providing advice directly to the President.

Obama said laws that impede his ability to supervise and gain advice violate the separation of powers.

Therefore, the executive branch will construe section 2262 not to abrogate these Presidential prerogatives.