Japan’s Ministry of Land, Infrastructure, Transport and Tourism has approved Boeing’s fix for the 787’s battery system.

The clearance issued Friday follows in the footsteps of FAA’s approval and paves the way for All Nippon Airways and Japan Airlines, which operated 24 of the 50 787s in service worldwide when the Dreamliner fleet was grounded Jan. 16, to resume commercial service with their 787s. The airlines are not expected to restart commercial flights immediately; both carriers said all of their 787s will be test flown first and all pilots operating the Dreamliners will have to gain renewed approval to fly 787s. Japan Airlines indicated it plans to begin commercial flights again by June.

According to multiple reports from Japan, ANA and Japan Airlines also said that once the 787s are back in service they will remotely monitor the aircraft’s lithium ion batteries in flight and remove, test and replace those lithium ion batteries after the aircraft have been in commercial service for several months.

The 787 fleet was grounded after a lithium ion battery fire aboard a parked Japan Airlines 787 Jan. 7 and a lithium ion battery failed and overheated on an ANA 787 in flight over Japan Jan. 16.