Now ATC tell you to continue present heading whilst climbing and bingo - the Airbus reverts to OP CLB (LVL Change on Boeing?) and ignores the 5000 constraint and carries on to 8000' - level bust.
Does that mean as soon as you are given a radar heading, you climb straight away? As you won't be following the SID anymore
From the FODCOM:
3.1.4 If instructions are issued that change an aircraft’s SID route (e.g. placing the aircraft on a heading), the SID’s vertical constraints are automatically cancelled. Therefore the controller will state the vertical profile to be followed