The bank must require the lesser of the 3 (aggregate balances of all loans secured by the building, the insurable value of the building, the max available under the NFIP for the structure). The bank can always require (or accept) more than the lesser of calculation.
My question would be why does the insurance company want to insure the structure for more than the NFIP maximum? If the insurer is a private insurer (ie Lloyds of London) it is possible for them to issue a policy for more than the NFIP max.
_________________________
I can't herd the cats anymore, so I just set up the electric fences and let them fry when they stray out of bounds.