I am sure people will come up with another answer to mine on this one!!
If I (the I is important there i expect) issued a climb to FL100 whilst you were on SID (or a descent on a star for that matter) I would not expect you to follow the vertical profile in the SID unless i specifically stated that.
Probably however quite a grey area.