The entire point of the pre-configured rankings was the ability to sell tickets to
likely matches. So regardless of who won the India v Pakistan match, matches involving D1 would be Pakistan games and matches involving D2 would be India games unless Scotland did something remarkable. It's far easier to sell tickets to matches that way. The same thing was done at the ODI World Cup, but no-one went to the games so tickets were easy to get anyway.
Hence, in answer to your questions:
a) Scotland D1, India D2.
b) Pakistan D1, Scotland D2.