They probably should have been. But the presidential system putting de-facto unchecked power into the president is just asking for such abuses to happen. Almost by design one might think.
It’s not realistic to assume the courts can strike down something days after it happens if it takes months to put an argument together.
But I’ve been rather impressed by how fast the Supreme Court makes decisions when cases are brought quickly (likely much less complex).