The case is the latest sign that Pope Leo XIV has upheld restrictions introduced under his predecessor, Pope Francis.