Maybe then vassal master must declare auto war to protect his vassal?(In this example after Japan ask Morocco for vassalage, no peace starts, just Morocco enters the war)
We can imagine situation when Japan almost lost one city, then ask for vassalage and all troops moved out before they can...