The DJI hard case is about 1 inch too big in one direction. But it is rare for that to matter. I've never been questioned, and have never seen anyone else mention it either.
I don't have the DJI hard case...I have the GPC (GoProfessional Cases) hard case w/ wheels. It's 22.75"L x 18"W x 12"D.