Follow the TCAS Resolution, end of story.
Even if the resolution is opposite to what ATC instruct, go with it.
Advise us, ATC, you are following the resolution as soon as possible. As soon as you advise us you are following the TCAS we will only issue traffic information, we are prohibited from issuing lateral or vertical instructions once you advise us that you are following a TCAS.