does it matter if you dont achieve them in certain conditions?
B-HKD, at airports where you know a min height cannot be achieved you would notify ATC prior to departure and then you will probably be given a different SID that you can comply with.
If for whatever reason you were unable to meet the restriction airborne, again notify ATC and you could probably expect a letter from the relevant ATC department to the company asking why it was not met, which would then result in the company asking the Captain of that flight why. This may result in a change to SOPs for operating from that particular airfield or that particular SID. CX has some airfield port page notes that restrict certain SIDs to certain weights. LHR has a weight - T/O thrust chart which allows for TO / TO1 / TO2 depending on weight.