Card Rulings talk:Dimensional Prison

Dimension Prison on a machina fortress while a union monster is equipped to it. What happens to the monster and the union?