If a regulator enforces a law against you that the court has deemed unconstitutional, you can sue the regulator for damages with the expectation that the court will be on your side.
The more obvious “built in” option is for the president to pack the court.