what if unforeseeable circumstances prevent you from getting your 2500 calories for the day? Is it recommended to eat as much 'good' food as you can to fill the gap?

For example, it is 9:30pm right now and I have only consumed ~1700 calories. Should I go get a double steakburger from steak and shake to get calories up or should I try to force 3 meals of brown rice and chicken before I go to sleep? This is an honest question.