DC agencies were and have certainly become completely illegal, anti-Constitution. Working for there own kingdom, not We-The-People or our Kingdom.
Obama installed loyalists in the Senior Executive Service. This allowed him to have his own private shadow government inside many different government agencies. Embeds. Since they were Civil Service and not political hires they were still there after he left office.