(TMZ) - Pitbull didn't just win his legal war with Lindsay Lohan ... he ANNIHILATED HER ... TMZ has learned.
We broke the story ... Lohan sued the rapper in 2011 for using her name in his hit song "Give Me Everything" ... when he dropped the line, "I got it locked up like Lindsay Lohan."
Lohan claimed Pitbull never got permission to use her name ... and therefore he had no right to profit off of it.
But today a New York federal judge sided with Pitbull ... ruling that Lindsay is dead wrong on the law -- because the song is a work of art protected by the 1st amendment PLUS Lindsay's barely even mentioned in it.
The judge also ruled ... Lindsay's allegations that she suffered emotional distress are also BS.
The case has been dismissed.
Viewers with disabilities can get assistance accessing this station's FCC Public Inspection File by contacting the station with the information listed below. Questions or concerns relating to the accessibility of the FCC's online public file system should be directed to the FCC at 888-225-5322, 888-835-5322 (TTY), or email@example.com.