Basically, in the event of a tight missed approach with a departure, you get any separation to start with and then aim for the required minimum. Tower can issue heading and indeed levels if required to obtain the minimum. Then fill in the paperwork......