''Bobblehat is correct. Any new clearance by ATC negates a previous clearance.''
Not everywhere - in some countries you are still expected to adhere to the published constraints. For example, Hong Kong. You won't know this unless you've checked the AIP - so be careful. It's best to ask.