The move is a break from the norm of the DOJ to defend federal laws when they are challenged in court.