If auto-report is on:
Then if anybody in the LOBBY (not just the game - so this includes observers) if running ESL and auto-report is on for everyone in the lobby (and it is always on by default if you don't have a forum account or change it) then the game will automatically be recorded, uploaded and used as a ranked match.
If any player in the game has auto-report off then it will not be a ranked game unless someone specifically says 'ranked' within the first minute of the game. First minute is important of course or someone could say it 25minutes in when it was obvious they were going to win

Same rule applies to "Unranked".
If auto-report is on for everybody but a player says "Unranked" within the first minute the game will be unranked.
Unranked games will still be recorded if any person in the game, player or observer, is running ESL and statistics will be gathering from that game so as to increase our gorious sample size and provide statistical data but you personally will not be accountable for any losses or wins you incur as a result of an unranked game and your leaderboard position will remain unaltered.