He has grounds to sue and have the law overturned.