In which situation does the book allow both accusative and badal?

Al-Mustathnā: Connected and Disconnected Exceptions, Four Case Rules