Even if the 360 sold like crap in Japan, it would be of Microsoft's best interests to still develop for Japan.
Just to name a few great companies from Japan
- Square-Enix
- Konami
- Capcom
If MS were to stop producing consoles for Japan they could lose support from those companies, and of course that would be bad.
It's just that simple.