There's always a chance that you will miss a connection, or the flight cancels or something. In that case, you may need to go through Japanese I&C to get to a hotel.
The best advice is to carry prescription meds in a prescription bottle. If it's not on the banned list, you have no issues.