The Church ruled correctly under canon law.  What more should one expect?  Of course, back before the Inerrant and Unchanging Church had 2000 years of tradition to rely upon it might have considered gospel passages about the duty of a good shepherd to protect the flock, millstones, and wolves in sheeps' clothing.  But all that stuff is irrelevant now,  except insofar as it is validated by Tradition, Canon Law, and the Infallible Magisterium.