The Upper House on Friday passed a controversial bill revising rules on asylum and the detention of those seeking the status, after a tangled route through both chambers and a final forcing of the law through parliament by the ruling coalition.

The law, which has prompted widespread debate, seeks to address perceived drawbacks of Japan’s existing legislation and standard handling of asylum matters, largely intervening in three areas: