Was the catholic church powerful in medieval europe