It probably is a publicity stunt from McGregors end but there is clearly no collusion with the UFC. Cornea and facial injuries, police charges, a decimated fight card 48hours before the event... not really in the UFCs best interest.
To be honesy I'm not well up on UFC, but it all just looked a bit false.