The president has immunity. He can grant impunity to his aides by promising them pardons. He knows the courts could never enforce their decisions since the Department of Justice will do his bidding, whatever it may be—and he’s acting like it.
Republicans have complained about being held accountable in the courts for decades. This is all part of the plan. The SCOTUS justices are set for life regardless, and this was their mission.