Pretty much nothing was gained for the Americans except for riots and death.
In the late 20th and early 21at centuries
Technically the Alien and Sedition Acts were illegal because of the "First Amendment," since this guarantees the right to free speech, but they were issues under executive power--making them highly controversial.
House of Representatives and Sentate