Trump is losing his fight against the law.