Doesn't matter what they state if you're in the US. Federal law prohibits voiding warranties because of modifications.
en.wikipedia.org
Even better, find a class action lawyer. Apple needs to be smacked down HARD for warranty nonsense.
If you're not in the US, I'd be surprised if you didn't have even better consumer protection laws, I'm just not familiar with your specific situation.