Did not know that! Thanks!
Yes! See A PAPAL DECREE CONCERNING MODESTY, HIS HOLINESS POPE PIUS XI, 12 January 1930 (See point 3 in decree.)
https://motherofgodlibrary.org/2021/08/02/a-papal-decree-concerning-modesty-pope-pius-xi-1930/