Performs inversion of a viral 3 kp segment (C-segment) that encodes two alternate pairs of tail fiber proteins thereby modifying the host specificity of the virus. Belongs to the site-specific recombinase resolvase family.