Mandatory imports of rice are piling up in Japanese government warehouses, entailing storage costs of JPY17bn a year, Japan's farm ministry has said.