They don't have to:
Riot EULA (that you agree to every time the game updates) Section III; Subsection C
You agree that you will not, under any circumstances:
...
C. Modify or cause to be modified any files that are part of the Software in any way not expressly authorized by Riot Games;
In Section IV
You further acknowledge and agree that you shall have no ownership or other property interest in your Account, and you acknowledge and agree that all rights in and to the Account are and shall forever be owned by and inure to the benefit of Riot Games.
Riot owns your account, not you. They reserve the right to delete your account 'for any reason or for no reason'. If you break the rules, they can terminate the account, ban it from connecting, or whatever else they wish. They do not have to give you warnings. They do not have to give you temporary bans before enacting punishments on your account.
http://na.leagueoflegends.com/en/legal/eula