What’s the difference(s)?
The difference is that the physicians know that the test serves little medical purpose, but that the results thereof will serve as the pretext for an honour killing. This makes them complicit, if not legally, certainly morally.