The sovereign immunity refers to the fact that the government cannot be sued without its consent. Overview
Sovereign immunity was derived from British common law doctrine based on the idea that the King could do no wrong. In the United States, sovereign immunity typically applies to the federal government and state government, but not to municipalities. Federal and state governments, however, have the ability to waive their sovereign immunity. The federal government did this when it passed the Federal Tort Claims Act, which waived federal immunity for numerous types of torts claims.
https://www.law.cornell.edu/wex/sovereign_immunity
Does the sovereign immunity clause prevent the federal government from suing states through the federal court in any situation? Also, does it prevent the federal government suing states in their own courts or only the federal court?
I understand that people can't sue governments and states, but I am wondering if this restriction applies to the federal government as well. The other question is whether there are exceptions to this sovereign immunity.