The head of Thailand's royal advisory council will stand in as regent until the late king's son accedes to the throne.