America acquired overseas territories as a result of the Spanish-American War; however, this raised a legal concern. What was the legal issue?