See https://github.com/matrix-org/matrix-spec-proposals/pull/3015#issuecomment-1451017296