they may put you in Y, they may put you in your original fare class, but you should not plan on or expect to get the Y fare bonus miles. if you do get them, they may be audited back (potentially well after the fact). your expectation should be to get the EQMs corresponding to the fare class you purchased.
all this stuff about upgrades should be handled as mherdeg suggests.