A note on minimal boundaries with obstacles