(CNN)If you sue Taylor Swift, just remember her lyrics might be used against you.
That's what a California judge did Tuesday when she dismissed a copyright lawsuit against the pop star that accused her of stealing another artist's lyrics for her hit song "Shake It Off."
United States District Court Judge Gail Standish cheekily quoted lyrics from other Swift songs as she tossed the suit filed by musician Jessie Braham. He claimed that his song "Haters Gone Hate" had the same 22-word phrase that Swift used in her song. Braham said he copyrighted "Haters Gone Hate" in February 2013.
Advertisement - story continues below