Integrality of a ratio of Petersson norms and level-lowering congruences