Pedal line shows hidden piano staff

I have found that a pedal line avoids right hand piano staff to be hidden (layout option: “allow individual staves of multi-staff instruments to be hidden” checked). Is that the intended behaviour? In that case, is there any way to have an empty right hand staff with pedal hidden?

It’s probably not intended behaviour, but it’s easy to work around.

That’s a very good solution! Thanks!