Japan, which just months ago had tens of thousands of Airbnb and home-sharing properties available, has approved only about 150 before a new law kicks in next week, meant to bring order to the market and create more lodging options for foreign tourists.

The private temporary lodging, or “minpaku,” law, which comes into force on June 15, requires hosts to register with the government and imposes other rules and restrictions.

Market leader Airbnb Inc. had 62,000 listings in Japan earlier this year, but as of May 11, the Japanese government had approved 152 of 724 applications for home-sharing, according to the Japan Tourism Agency.

On Friday, Airbnb said the Japanese government had ordered it on June 1 to cancel reservations made even before the law came into force. Airbnb had said in March it would remove listings without government approval by June 14.