Unfortunate. If you choose to do the HG replacement yourself, you should absolutely have the head checked at a machine shop. And there is also a possibility that the head is so badly warped that it can't be decked, so you might want to do a bit of advanced scouting for a replacement head, just in case.