U.S. officials admitted that the federal government "erroneously" issued three-year work permits to about 2,000 people under President Barack Obama's executive immigration action, despite the fact that a court order legally delayed the plan's implementation.

Court document filed Thursday reveal that the U.S. Citizen and Immigration Services discovered that around 2,000 individuals had been mistakenly sent three-year work authorizations. This oversight occurred after U.S. District Judge Andrew Hanen issued a preliminary injunction on Feb. 16 that temporarily blocked the president's immigration action.

"The government sincerely regrets these circumstances and is taking prompt corrective steps, while gathering additional information about these issues, including how these errors occurred," said the Justice Department's three-page advisory letter to Judge Hanen, according to The Associated Press.

According to the DOJ, the 2,000 individuals were only eligible to receive two-year work permits through a 2012 government program. The Justice Department added that the three-year work permits were being converted into two-year permits.

The revelation comes almost six months after Obama announced that he would use his executive authority to shield up to 5 million immigrants from being deported. In response, Texas led a coalition of 25 states in filing a lawsuit against the relief programs, arguing that it would violate the Constitution.

Subsequently, the Texas district judge issued a temporary injunction that stalled the implementation of Obama's plan while the constitutionality of the policy is being considered.

Following the DOJ's error, Texas Republican Gov. Greg Abbott released a statement, declaring that the lawyer representing the Justice Department "show a blatant disregard for the rule of law."

"After months of obfuscation and stall tactics by the Obama Administration, the president's lawyers have been forced to admit that they acted outside the law by implementing the president's executive amnesty -- even after a federal judge had ordered them to stop," Abbott said in the release.